tests/data: replace & with %AMP

For XML-compliance.

Closes #19923
This commit is contained in:
Viktor Szakats 2025-12-10 22:42:35 +01:00
parent 8db0e286b3
commit 73b732e3e8
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
23 changed files with 48 additions and 71 deletions

View file

@ -4,7 +4,6 @@
HTTP
HTTP HEAD
-G
notxml
</keywords>
</info>
#
@ -30,7 +29,7 @@ http
HTTP with -d and -G and -I
</name>
<command>
-d "foo=moo&moo=poo" http://%HOSTIP:%HTTPPORT/%TESTNUMBER -G -I http://%HOSTIP:%HTTPPORT/%TESTNUMBER
-d "foo=moo%AMPmoo=poo" http://%HOSTIP:%HTTPPORT/%TESTNUMBER -G -I http://%HOSTIP:%HTTPPORT/%TESTNUMBER
</command>
</client>
@ -38,12 +37,12 @@ HTTP with -d and -G and -I
# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">
HEAD /%TESTNUMBER?foo=moo&moo=poo HTTP/1.1
HEAD /%TESTNUMBER?foo=moo%AMPmoo=poo HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
HEAD /%TESTNUMBER?foo=moo&moo=poo HTTP/1.1
HEAD /%TESTNUMBER?foo=moo%AMPmoo=poo HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*