I noticed an issue with decoding incoming data with jsonp fallback. Specifically that spaces are converted to + signs.
I replicated this in the vanilla chat example by disabling all but jsonp, connecting and sending a message with spaces in:
sending 'test spaces' -> receiving 'test+spaces'
Not sure if I have missed something elsewhere, but one option is to use urllib.unquote_plus (as opposed to pyramid.compat.url_unquote) which seems to sort this.
Hi Nikolay,
Many thanks for the excellent library.
I noticed an issue with decoding incoming data with jsonp fallback. Specifically that spaces are converted to + signs.
I replicated this in the vanilla chat example by disabling all but jsonp, connecting and sending a message with spaces in: sending 'test spaces' -> receiving 'test+spaces'
Not sure if I have missed something elsewhere, but one option is to use urllib.unquote_plus (as opposed to pyramid.compat.url_unquote) which seems to sort this.
Many thanks, Dan