mirror of
https://github.com/curl/curl.git
synced 2026-08-24 21:13:40 +03:00
tests/data: more XML-compliance via %LT and %GT macros in email addresses
Reduce number of files failing `xmllint --format` from 133 to 57 (-76)
(3% of 1894), by replacing `<` and `>` with new macro `%LT` and `%GT`,
in most places, which is in email addresses (192 lines).
Follow-up to a9ec2a676c #19491
Closes #19470
This commit is contained in:
parent
97169a91d9
commit
de49cc89ab
80 changed files with 195 additions and 193 deletions
|
|
@ -40,7 +40,7 @@ smtp://%HOSTIP:%SMTPPORT/%TESTNUMBER
|
|||
-F "=@%LOGDIR/test%TESTNUMBER.txt;headers=<%LOGDIR/headers%TESTNUMBER"
|
||||
-H "From: different"
|
||||
-H "To: another"
|
||||
-H "Reply-To: <followup@example.com>"
|
||||
-H "Reply-To: %LTfollowup@example.com%GT"
|
||||
</command>
|
||||
<file1 name="%LOGDIR/test%TESTNUMBER.txt">
|
||||
This is an attached file.
|
||||
|
|
@ -66,8 +66,8 @@ s/boundary=------------------------[A-Za-z0-9]*/boundary=-----------------------
|
|||
</strippart>
|
||||
<protocol crlf="yes">
|
||||
EHLO %TESTNUMBER
|
||||
MAIL FROM:<sender@example.com>
|
||||
RCPT TO:<recipient@example.com>
|
||||
MAIL FROM:%LTsender@example.com%GT
|
||||
RCPT TO:%LTrecipient@example.com%GT
|
||||
DATA
|
||||
QUIT
|
||||
</protocol>
|
||||
|
|
@ -76,7 +76,7 @@ Content-Type: multipart/mixed; boundary=----------------------------%CR
|
|||
Mime-Version: 1.0%CR
|
||||
From: different%CR
|
||||
To: another%CR
|
||||
Reply-To: <followup@example.com>%CR
|
||||
Reply-To: %LTfollowup@example.com%GT%CR
|
||||
%CR
|
||||
------------------------------%CR
|
||||
Content-Type: multipart/alternative; boundary=----------------------------%CR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue