test1675: unit tests for URL API helper functions

- ipv4_normalize
- urlencode_str
- ipv6_parse
- parse_file

urlapi: make the string URL encoder normalize to uppercase
percent-encoding

Closes #21296
This commit is contained in:
Daniel Stenberg 2026-04-13 12:46:45 +02:00
parent d7a991cc9b
commit 0b4ebebb06
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
8 changed files with 414 additions and 46 deletions

View file

@ -37,7 +37,7 @@ a few bytes
# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">
PUT /we/want/%TESTNUMBERte%5b%5dst.txt HTTP/1.1
PUT /we/want/%TESTNUMBERte%5B%5Dst.txt HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*