Skip to content

strictEncodeURIComponent fails in FF 3.6 #91

@NetForce1

Description

@NetForce1

Calling strictEncodeURIComponent with some specific values cause an error in FF 3.6.

strictEncodeURIComponent('abcdefg()') // -> Error: invalid string escape mask 8

I hotfixed this by replacing the escape-function that is passed into replace with:

function(val) {return escape(val);}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions