remove unicode control chars before sending
This commit is contained in:
parent
be0fc59314
commit
8eb1640a26
|
@ -7,6 +7,7 @@ public class XmlHelper {
|
|||
content = content.replace(">", ">");
|
||||
content = content.replace("\"", """);
|
||||
content = content.replace("'", "'");
|
||||
content = content.replaceAll("\\p{Cc}", "");
|
||||
return content;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue