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

@ -2,7 +2,6 @@
<info>
<keywords>
IPFS
notxml
</keywords>
</info>
@ -38,7 +37,7 @@ http
IPFS with path, query args and gateway with path
</name>
<command>
--ipfs-gateway http://%HOSTIP:%HTTPPORT/some/path "ipfs://bafybeidecnvkrygux6uoukouzps5ofkeevoqland7kopseiod6pzqvjg7u/a/b?foo=bar&aaa=bbb"
--ipfs-gateway http://%HOSTIP:%HTTPPORT/some/path "ipfs://bafybeidecnvkrygux6uoukouzps5ofkeevoqland7kopseiod6pzqvjg7u/a/b?foo=bar%AMPaaa=bbb"
</command>
</client>
@ -46,7 +45,7 @@ IPFS with path, query args and gateway with path
# Verify data after the test has been "shot"
<verify>
<protocol crlf="headers">
GET /some/path/ipfs/bafybeidecnvkrygux6uoukouzps5ofkeevoqland7kopseiod6pzqvjg7u/a/b?foo=bar&aaa=bbb HTTP/1.1
GET /some/path/ipfs/bafybeidecnvkrygux6uoukouzps5ofkeevoqland7kopseiod6pzqvjg7u/a/b?foo=bar%AMPaaa=bbb HTTP/1.1
Host: %HOSTIP:%HTTPPORT
User-Agent: curl/%VERSION
Accept: */*