Skip to content

Make req_url_path_append() copy literal url encoding for original URL #794

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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

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
1 participant