mirror of
https://github.com/curl/curl.git
synced 2026-08-25 14:13:34 +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
|
|
@ -3,7 +3,6 @@
|
|||
<keywords>
|
||||
SMTP
|
||||
MULTIPART
|
||||
non-ascii
|
||||
</keywords>
|
||||
</info>
|
||||
|
||||
|
|
@ -34,7 +33,7 @@ body
|
|||
smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER --mail-rcpt recipient@example.com --mail-from sender@example.com -F '=This is valid;encoder=7bit' -F "=@%LOGDIR/test%TESTNUMBER.txt;encoder=7bit" -H "From: different" -H "To: another"
|
||||
</command>
|
||||
<file name="%LOGDIR/test%TESTNUMBER.txt">
|
||||
This is an attached file (in french: pièce jointe).
|
||||
This is an attached file (in french: pi%hex[%c3%a8]hex%ce jointe).
|
||||
|
||||
It contains at least an 8-bit byte value.
|
||||
</file>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue