Skip to content
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

fix(params): retain external query-string params during validateUser redirects #168

Merged
merged 1 commit into from
Jun 16, 2015
Merged

fix(params): retain external query-string params during validateUser redirects #168

merged 1 commit into from
Jun 16, 2015

Conversation

booleanbetrayal
Copy link
Collaborator

Currently, if you're originating from a url http://localhost/?foo=bar and hit validateUser, all query params will be axed by the $location.url(). This fix just whitelists only the parameters that ng-token-auth actually cares about for clearing, retaining all others.

booleanbetrayal added a commit that referenced this pull request Jun 16, 2015
fix(params): retain external query-string params during validateUser redirects
@booleanbetrayal booleanbetrayal merged commit 9d602e1 into lynndylanhurley:master Jun 16, 2015
@booleanbetrayal booleanbetrayal deleted the safer_param_clear branch June 16, 2015 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant