Skip to content

query params with '/' cause state to load twice #2172

Closed
@quoideneuf

Description

@quoideneuf

This is an issue that appears to only affect 0.2.15.

When the ui-sref directive passes a query param containing a slash, the controller fires twice. The second time the stateParam has the slashes escaped.

Compare the "foo" and "bar" states in this plunker:

http://plnkr.co/edit/IbksnWfy6pY3ipl7S3Qp?p=preview

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions