normanr/xmpppy — pull request #10 by ivucica (2013-04-10 22:10:33+00:00)
Title: Crashfix: 'From' jid w/ non-ASCII char sending cmd

Fixes a crash occurring when a remote jid with a
non-ASCII character issued a XEP-0050 Ad-Hoc
command.

Specifically, jid=str(...) was changed to
jid=unicode(...) in commands.py. No side effects
observed.

It was sufficient to have a user called
"mačak@server.tld" to issue a command request
and the component would crash.