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

(PR #1235) Add option to rewrite path in set-cookie headers #1236

Open
swillis12 opened this issue Feb 21, 2018 · 2 comments
Open

(PR #1235) Add option to rewrite path in set-cookie headers #1236

swillis12 opened this issue Feb 21, 2018 · 2 comments

Comments

@swillis12
Copy link
Contributor

Requesting ability to rewrite the path of a cookie in the set-cookie header. I submitted PR #1235 building on top of what was there for #1009. I added some documentation and test cases and am open to feedback. I look forward to having this merged in.

Example usage:
"cookiePathRewrite": "/"

This will rewrite cookie paths from /dummyPath to /. This is useful when using Tomcat and each application is hosted in it's own "context" (which is the war file name), so the path for each cookie is set to the war file name.

@swillis12
Copy link
Contributor Author

Travis CI failing for #1235 due to #1167

@Aijunwei
Copy link

Aijunwei commented Mar 7, 2018

Would love to see this merge

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