Comment 2 for bug 332713

Revision history for this message
Manuel Moos (z-man) wrote :

I can't reproduce dlh's observed behavior. What were the exact test conditions?

Besides, it's a utf8-string :) 0.2.8.1 uses latin1 strings, and they SHOULD be encoded correctly with non-ascii characters escaped to hex. Now, the current trunk implementation of se_(Un)Escape clearly needs adaption to utf8. Or not, it's not actually used for the auth process and the only important thing is that it's reversible :) (And yeah, we want the escaped names not to change from one version to the next, if possible.)

The really buggy function is nKrawall::EncodeString, it's using a signed char to encode non-ascii stuff to hex. That has been fixed on 0.2.8 and works with the reference auth implementation.