Skip to content

URL Encode Paths#60137

Merged
taylorotwell merged 1 commit into
13.xfrom
urlencode-paths
May 15, 2026
Merged

URL Encode Paths#60137
taylorotwell merged 1 commit into
13.xfrom
urlencode-paths

Conversation

@taylorotwell
Copy link
Copy Markdown
Member

This change fixes local filesystem temporary signed URLs by URL-encoding the storage path before placing it into the signed route path segment, preventing URI delimiter characters such as ?, &, and # from being interpreted as query strings or fragments. This ensures the signed URL always resolves to the intended storage key and that reserved signed-route parameters like expires remain standalone query parameters, so expiration and signature validation are enforced correctly for both temporaryUrl() and temporaryUploadUrl().

@taylorotwell taylorotwell merged commit 7b2b2fe into 13.x May 15, 2026
4 checks passed
@taylorotwell taylorotwell deleted the urlencode-paths branch May 15, 2026 13:21
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

Successfully merging this pull request may close these issues.

1 participant