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

Problems with urlencode #25

Open
ajgarlag opened this issue Dec 17, 2016 · 1 comment
Open

Problems with urlencode #25

ajgarlag opened this issue Dec 17, 2016 · 1 comment

Comments

@ajgarlag
Copy link

I'm writing a proxy script where I have a middleware to alter the domain param of cookies.

The problem is that the urlencode and urldecode calls are altering the cookie name and value sent by the upstream server (which is out of my control).

Maybe an option could be added to work with raw data. What do you think?

@edwardteach42
Copy link

I fixed this in Pull Request #27

urlencode is disabled by default and you can add the withUrlEncode(true) param if you want it done to the cookie name and value.

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

No branches or pull requests

2 participants