Skip to content

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

Merged
davidism merged 2 commits into
masterfrom
relative-location
May 28, 2018
Merged

Relative Location is relative to current path instead of root#1315
davidism merged 2 commits into
masterfrom
relative-location

Conversation

@davidism

@davidism davidism commented May 28, 2018

Copy link
Copy Markdown
Member

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.

Labels

None yet

Projects

None yet

Development

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