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
merged 2 commits into from May 28, 2018

Conversation

Projects
None yet
2 participants
@davidism
Copy link
Member

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

boblehest and others added some commits Mar 26, 2015

exclude current querystring from location
parametrize location autocorrect test

@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

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details

@davidism davidism deleted the relative-location branch May 28, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.