mirror of
https://github.com/curl/curl.git
synced 2026-08-26 17:43:31 +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
|
|
@ -52,7 +52,7 @@ Connection reuse with IDN host name over HTTP proxy
|
|||
</name>
|
||||
|
||||
<command>
|
||||
http://åäö.se/%TESTNUMBER -x %HOSTIP:%HTTPPORT -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/%TESTNUMBER -x %HOSTIP:%HTTPPORT -w "%{num_connects}\n%{num_redirects}\n%{size_download}\n%{url_effective}\n%{content_type}\n%{response_code}\n" -L
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
@ -90,7 +90,7 @@ OK
|
|||
1
|
||||
1
|
||||
3
|
||||
http://åäö.se/%TESTNUMBER0001
|
||||
http://%hex[%c3%a5%c3%a4%c3%b6]hex%.se/%TESTNUMBER0001
|
||||
text/plain; charset=us-ascii
|
||||
200
|
||||
</stdout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue