]> git.ipfire.org Git - thirdparty/curl.git/commit
urlapi: allow more path characters "raw" when asked to URL encode
authorDaniel Stenberg <daniel@haxx.se>
Thu, 24 Jul 2025 16:36:28 +0000 (18:36 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 1 Aug 2025 21:22:32 +0000 (23:22 +0200)
commit2bad773b3079a50a1962731ed1ede953c16d088d
tree165e6f70204f67bde74ca6b12db07a2aa159ed74
parenta33893dac738997ecab7a57e827687ecdb410305
urlapi: allow more path characters "raw" when asked to URL encode

Setting the path component to contain the letters:

    ! $ & ' ( ) { } [ ] * + , ; = : @

now leaves them un-encoded when CURLU_URLENCODE is used.

Amended test 1560 to verify.

Reported-by: Jeroen Ooms
Fixes #17977
Closes #18024
docs/libcurl/curl_url_set.md
lib/urlapi.c
tests/libtest/lib1560.c