XML invalid characters are silently sent without error on client-side #210

Open
horazont opened this Issue Dec 3, 2012 · 0 comments

Projects

None yet

1 participant

@horazont
Contributor
horazont commented Dec 3, 2012

I have some bot parsing title and description of html-links posted in MUCs, replying with those. However, it recently error'd out with not-well-formed, as some big website had the 0x1A control character in the description line, no idea why.

The bug I'm seeing in SleekXMPP here is, that it's allowing me to attempt to send such characters which are invalid in XML, getting disconnected. This is easily reproducible by trying to send "\x1a" via sleekxmpp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment