Skip to content

Slashes are double encoded in hash query params #1973

@natefaubion

Description

@natefaubion

I have a link that's something like

<a ui-sref="myState({ path: '/foo' })">Go</a>

Which results in the hash-url #/my-state?path=%252Ffoo. The slash being encoded to %2F and the percent being encoded to %25. In 0.2.13 this double-encoding seemed to work fine, as the new state picks it up correctly (as /foo), but in 0.2.14 and 0.2.15 the new state will only get it decoded once, resulting in %2Ffoo.

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