mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-24 09:42:17 -05:00
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.replace("\"", """);
|
||||||
content = content.replace("'", "'");
|
content = content.replace("'", "'");
|
||||||
|
content = content.replaceAll("\\p{Cc}", "");
|
||||||
return content;
|
return content;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user