Skip to content

Conversation

jeroen
Copy link
Member

@jeroen jeroen commented Aug 2, 2025

In #788 we prevented normalisation of the url path when we modify other parts of the URL.

Because req_url_path_append() actually changes the path itself, so it would still get normalised. Apparently this is also a problem sometimes. This PR changes the behavior of req_url_path_append() to append to the verbatim path, without any decoding/re-encoding.

Fixes #793

Copy link
Member

@hadley hadley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just needs a news bullet

@jeroen jeroen merged commit 76ecb84 into main Sep 4, 2025
11 checks passed
@jeroen jeroen deleted the fix-req_url_path_append branch September 4, 2025 13:40
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.

req_url_query() wrongly percent-decodes URL

2 participants