Skip to content

bug: Breaks encoded URI's with non-latin characters in browser #157

@ekzobrain

Description

@ekzobrain
console.log(resolveURI('http://host', encodeURIComponent('ыы'));

Prints http://host/��. This is because path is decoded with unescape function which does not support unicode directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions