mirror of
https://github.com/curl/curl.git
synced 2026-08-26 06:13:35 +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
|
|
@ -39,7 +39,7 @@ To: another
|
|||
body
|
||||
</stdin>
|
||||
<command>
|
||||
smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from Avsändaren@åäö.se -T -
|
||||
smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from Avs%hex[%c3%a4]hex%ndaren@%hex[%c3%a5%c3%a4%c3%b6]hex%.se -T -
|
||||
</command>
|
||||
</client>
|
||||
|
||||
|
|
@ -48,7 +48,7 @@ smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-fr
|
|||
<verify>
|
||||
<protocol>
|
||||
EHLO %TESTNUMBER
|
||||
MAIL FROM:<Avsändaren@xn--4cab6c.se> SMTPUTF8
|
||||
MAIL FROM:<Avs%hex[%c3%a4]hex%ndaren@xn--4cab6c.se> SMTPUTF8
|
||||
RCPT TO:<recipient@example.com>
|
||||
DATA
|
||||
QUIT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue