diff options
author | Florent Le Coz <louiz@louiz.org> | 2015-02-26 04:58:07 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2015-02-26 04:58:07 +0100 |
commit | 6a2240f5935a4608e651a33c39219e912c9ea9ba (patch) | |
tree | 04d22f820a94fa03875e282e27e6fa4429cf71e4 /src/xmpp/jid.cpp | |
parent | 53e6b1da69199f54303e4cb2b00db3205f62ce6e (diff) | |
download | biboumi-6a2240f5935a4608e651a33c39219e912c9ea9ba.tar.gz biboumi-6a2240f5935a4608e651a33c39219e912c9ea9ba.tar.bz2 biboumi-6a2240f5935a4608e651a33c39219e912c9ea9ba.tar.xz biboumi-6a2240f5935a4608e651a33c39219e912c9ea9ba.zip |
Properly sanitize everything in the XML we send to the XMPP server
in this order:
- Make sure it is utf-8 encoded
- Remove all chars that are invalid in XML
- Escape all XML special chars (&'"<>)
Diffstat (limited to 'src/xmpp/jid.cpp')
0 files changed, 0 insertions, 0 deletions