mirror of
https://github.com/curl/curl.git
synced 2026-08-26 16:03:33 +03:00
tests: provide all non-ascii data hex encoded
- make the scanner not whitelist anything for test cases making everything non-ascii forced to be hex encoded - update all tests using non-ascii bytes to use %hex[] sequences Closes #17331
This commit is contained in:
parent
65444f1dc3
commit
11cad7bf32
34 changed files with 93 additions and 96 deletions
|
|
@ -51,7 +51,7 @@ Connection reuse with IDN host name
|
|||
</name>
|
||||
|
||||
<command>
|
||||
http://åäö.se:%HTTPPORT/%TESTNUMBER --resolve xn--4cab6c.se:%HTTPPORT:%HOSTIP -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_type}\n%{response_code}\n" -L
|
||||
http://%hex[%c3%a5%c3%a4%c3%b6]hex%.se:%HTTPPORT/%TESTNUMBER --resolve xn--4cab6c.se:%HTTPPORT:%HOSTIP -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_type}\n%{response_code}\n" -L
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
@ -87,7 +87,7 @@ OK
|
|||
1
|
||||
1
|
||||
3
|
||||
http://åäö.se:%HTTPPORT/%TESTNUMBER0001
|
||||
http://%hex[%c3%a5%c3%a4%c3%b6]hex%.se:%HTTPPORT/%TESTNUMBER0001
|
||||
text/plain; charset=us-ascii
|
||||
200
|
||||
</stdout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue