remove unicode control chars before sending

This commit is contained in:
Daniel Gultsch 2016-05-30 21:11:34 +02:00
parent be0fc59314
commit 8eb1640a26
1 changed files with 1 additions and 0 deletions

View File

@ -7,6 +7,7 @@ public class XmlHelper {
content = content.replace(">", ">");
content = content.replace("\"", """);
content = content.replace("'", "'");
content = content.replaceAll("\\p{Cc}", "");
return content;
}
}