diff options
Diffstat (limited to 'nbxmpp/const.py')
-rw-r--r-- | nbxmpp/const.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nbxmpp/const.py b/nbxmpp/const.py index 4904e66..d37ba64 100644 --- a/nbxmpp/const.py +++ b/nbxmpp/const.py @@ -652,3 +652,12 @@ GIO_TLS_ERRORS = { Gio.TlsCertificateFlags.EXPIRED: 'The certificate has expired', } # pylint: enable=line-too-long + +NOT_ALLOWED_XML_CHARS = { + '&': '&', + '<': '<', + '>': '>', + '"': '"', + '\x0C': '', + '\x1B': '' +} |