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

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;
}
}