Skip to content

Url params escaping is performed twice #2069

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
zgmnkv opened this issue Jun 30, 2015 · 4 comments
Closed

Url params escaping is performed twice #2069

zgmnkv opened this issue Jun 30, 2015 · 4 comments
Labels

Comments

@zgmnkv
Copy link

zgmnkv commented Jun 30, 2015

Create a state with url parameter

            .state('test', {
                url: 'test?param',
                ...
            })

open url with this parameter equal slash: "http://localhost:port/test?param=/"
Url is being changed to "http://localhost:port/test?param=%252F"
Url parameter is being escaped twice in UrlMatcher.prototype.format

This also leads to events firing and controller execution twice.

@eddiemonge
Copy link
Contributor

this is a duplicate. i know this is bad but im not sure which issue but a quick search should turn it up

@zgmnkv
Copy link
Author

zgmnkv commented Jul 1, 2015

Sorry, but I can't find a duplicating issue. Could you please give a link to it?

@eddiemonge
Copy link
Contributor

I can't either. where did it go?

@eddiemonge eddiemonge reopened this Jul 1, 2015
@eddiemonge eddiemonge added the bug label Jul 1, 2015
@eddiemonge
Copy link
Contributor

Oh. I used #1645 as the main. #1973 is a direct duplicate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants