Skip to content

Authentication failed with Unicode Password #69

@gitgotcha77

Description

@gitgotcha77

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))) +

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions