E415 URL parameters are re-encoded when aborting a transition · Issue #760 · vuejs/vue-router · GitHub
[go: up one dir, main page]

Skip to content

URL parameters are re-encoded when aborting a transition #760

@dfmelicor

Description

@dfmelicor

If any parameter contains a URL encoded value, the value is re-encoded when the transition is aborted.

If the current URL is http://website.com/#!/accounts?PARAM=%20, calling transition#abort redirects to http://website.com/#!/accounts?PARAM=%25%20 instead of the original URL.

Checking transition#abort, it seems the call to #stringifyPath performs the double encoding when a String parameter is passed.

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

      0