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:
Daniel Stenberg 2025-05-13 08:12:26 +02:00
parent 65444f1dc3
commit 11cad7bf32
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
34 changed files with 93 additions and 96 deletions

View file

@ -35,7 +35,7 @@ To: another
body
</stdin>
<command>
smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@åäö.se --mail-from sender@example.com -T -
smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@%hex[%c3%a5%c3%a4%c3%b6]hex%.se --mail-from sender@example.com -T -
</command>
</client>
@ -49,7 +49,7 @@ smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@åäö.se --mail-from
<protocol>
EHLO %TESTNUMBER
MAIL FROM:<sender@example.com>
RCPT TO:<recipient@åäö.se>
RCPT TO:<recipient@%hex[%c3%a5%c3%a4%c3%b6]hex%.se>
QUIT
</protocol>
</verify>