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

Already encoded url parameters get encoded again when redirecting #75

Closed
oveddan opened this issue Jul 18, 2014 · 0 comments · Fixed by #76
Closed

Already encoded url parameters get encoded again when redirecting #75

oveddan opened this issue Jul 18, 2014 · 0 comments · Fixed by #76

Comments

@oveddan
Copy link
Contributor

oveddan commented Jul 18, 2014

When you already have encoded url parameters, and rack-ssl-enforcer performs a redirect, the parameters get encoded again.

So if you have a url such as:
http://www.app.com/email?email=someemail%40somedomain.com
It gets encoded and redirected to:
https://www.app.com/email?email=someemail%254040somedomain.com

This is not desirable behavior.

This bug is caused by this commit: 1ef4515

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 a pull request may close this issue.

1 participant