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

Relative Location is relative to current path instead of root #1315

merged 2 commits into from May 28, 2018


Copy link

@davidism davidism commented May 28, 2018

RFC 7231 allows relative paths in the Location header. Werkzeug previously treated these as relative to the root when generating an absolute URL.

closes #693, continues #718

@davidism davidism added this to the 0.15 milestone May 28, 2018
@davidism davidism self-assigned this May 28, 2018
@davidism davidism changed the title Allow relative Location header Relative Location is relative to current path instead of root May 28, 2018
@davidism davidism merged commit da57cd5 into master May 28, 2018
@davidism davidism deleted the relative-location branch May 28, 2018 19:51
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
None yet

Successfully merging this pull request may close these issues.

Relative location headers are "fixed" as if they are relative to root instead of the current url
2 participants