slixmpp/sleekxmpp/util/sasl
Florent Le Coz f5ae98aaf1 Fix saslprep on the username
Two issues fixed here:

- ints are not comparable with bytes, so char was never == to b',', which
  renders the whole function pointless
- The bytes were converted back to “characters” by using chr(), which
  doesn’t make sense if the username contains characters that fit on more
  than one bytes. This would trigger an “invalid username” error from the
  server when using a non-ascii JID.
2014-08-25 01:08:13 +02:00
..
__init__.py
client.py
mechanisms.py Fix saslprep on the username 2014-08-25 01:08:13 +02:00