From abd400a972959ce55cd9c41cc8fd71ee4cd8cd2c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 13 May 2025 08:15:57 +0200 Subject: [PATCH] tests/FILEFORMAT.md: clarify %hex[] formatting Closes #17332 --- tests/FILEFORMAT.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/FILEFORMAT.md b/tests/FILEFORMAT.md index 263ce7f067..0a0aee0fec 100644 --- a/tests/FILEFORMAT.md +++ b/tests/FILEFORMAT.md @@ -55,9 +55,11 @@ To insert a sequence of bytes from a hex encoded string, use this syntax: %hex[ %XX-encoded data to decode ]hex% +Other bytes within the brackets that not percent encoded are inserted as-is. + For example, to insert the binary octets 0, 1 and 255 into the test file: - %hex[ %00%01%FF ]hex% + %hex[%00%01%FF]hex% ## Repeat content -- 2.47.3