[ejabberd] user can't login special characters

Alexandre LISSY alexandrelissy at free.fr
Sun May 18 15:30:46 MSD 2008


Le dimanche 18 mai 2008, kaan kaan a écrit :
> HI guys,
>
> my problem is, when user have special characters in their password, then
> they can't login. I use external authentication with mysql, it's the same
> password which they use on my site. i use the php authentification script
> from the website:
> http://www.ejabberd.im/check_mysql_php
>
> in the logs i get this
>
> =INFO REPORT==== 2008-05-18 13:20:01 ===D(<0.525.0>:ejabberd_c2s:1345) :
> Send XML on stream = "<iq type='error' from='chat.blabla.eu'
> id='sd4'><query
> xmlns='jabber:iq:auth'><username>test</username><resource>Pandion</resource
>><password>test54ö</password></query><error code='401'
> type='auth'><not-authorized
> xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/></error></iq>"
>
> after test54 its a ö
>
> can somebody help me plz?
>
> greets
> _________________________________________________________________
> Es ist höchste Zeit dabei zu sein - Holen Sie sich jetzt die neue
> Generation der Windows Live Services! http://get.live.com/

As far as I remember, this is some kind of UTF8/ISO8859-15 encodding mess up.

Try using iconv() to force conversion.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.jabber.ru/pipermail/ejabberd/attachments/20080518/9fa047b7/attachment.pgp 


More information about the ejabberd mailing list