-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Closed
Labels
Description
The examples below are from my bindings, if needed I can translate them to C later.
I did this
When using curl_easy_escape() characters get escaped with uppercase percentage codes:
curl_easy_escape("foo;bar")
# foo%3BbarBut when using the URL parser with CURLU_URLENCODE and setting e.g. CURLUPART_PATH then we get a lowercase:
curl:::curl_modify_url('https://test', path = 'foo;bar')
# "https://test/foo%3bbarIs this intentional? The ambiguity is technically not incorrect but makes it more difficult to write tests.
I expected the following
Consistent upper or lowercase when url-encoding.
curl/libcurl version
8.14.1
operating system
MacOS 15
Reactions are currently unavailable