Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authentication failed with Unicode Password #69

Open
gitgotcha77 opened this issue Nov 18, 2011 · 0 comments
Open

Authentication failed with Unicode Password #69

gitgotcha77 opened this issue Nov 18, 2011 · 0 comments

Comments

@gitgotcha77
Copy link

The Candy guys send me here: https://github.com/amiadogroup/candy/issues/59
:)

Tested with Candy 1.0.6 and OpenFire 3.7.1.
My test account is username "和製漢字" password "和製漢字".
Login into OpenFire works however with Candy the login fails for PLAIN and DIGEST-MD5.

PLAIN fix:
In libs.bundle.js line 3027:
from: auth_str = auth_str + this.pass;
to: auth_str = auth_str + unescape(encodeURIComponent(this.pass));

DIGEST-MD5 fix:
In libs.bundle.js line 3107:
from: ":" + realm + ":" + this.pass) +
to: ":" + realm + ":" + unescape(encodeURIComponent(this.pass))) +

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant