fafhrd91 / pyramid_sockjs

44 stars 13 forks source link

Use #19

Closed DanMauger closed 11 years ago

DanMauger commented 11 years ago

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

fafhrd91 commented 11 years ago

Thank you

fafhrd91 commented 11 years ago

pyramid_sockjs 0.3.9 has been released