Skip to content

Conversation

@qil026
Copy link
Contributor

@qil026 qil026 commented May 6, 2019

Describe what this patch does to fix the issue.

Fixes #3134 where flask fails if static_url_path ends with a slash, e.g. /foo/

Because the /<path:filename> param already starts with a slash, it is imperative the the static_url_path prefix does NOT end with a forward slash.

@qil026

This comment has been minimized.

@qil026 qil026 force-pushed the issue-3134-url-join branch from 0b675c4 to d464899 Compare May 6, 2019 20:07
@qil026 qil026 force-pushed the issue-3134-url-join branch 3 times, most recently from ef79381 to d42955b Compare May 6, 2019 21:17
@davidism davidism force-pushed the issue-3134-url-join branch from d42955b to 2039e2e Compare May 19, 2019 04:23
@davidism davidism added this to the 1.1.0 milestone May 19, 2019
@davidism davidism merged commit dbd3840 into pallets:master May 19, 2019
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 14, 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.

static_url_path doesn't work if it ends with a slash

3 participants