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 GET
globbing
notxml
</keywords>
</info>
#
@ -36,7 +35,7 @@ http
HTTP with -d, -G and {}
</name>
<command>
-d "foo=moo&moo=poo" "http://%HOSTIP:%HTTPPORT/{%TESTNUMBER,%TESTNUMBER}" -G
-d "foo=moo%AMPmoo=poo" "http://%HOSTIP:%HTTPPORT/{%TESTNUMBER,%TESTNUMBER}" -G
</command>
</client>
@ -44,12 +43,12 @@ HTTP with -d, -G and {}
# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">
GET /%TESTNUMBER?foo=moo&moo=poo HTTP/1.1
GET /%TESTNUMBER?foo=moo%AMPmoo=poo HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*
GET /%TESTNUMBER?foo=moo&moo=poo HTTP/1.1
GET /%TESTNUMBER?foo=moo%AMPmoo=poo HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*