From 3ffe0519e38ecfa43d2b6de87c1592ea88cf008e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 14 Jan 2021 23:20:19 +0100 Subject: fixup test584 - strip off the random bits from the boundary string --- tests/data/test584 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/tests/data/test584 b/tests/data/test584 index 9a67e84c8..891e461fc 100644 --- a/tests/data/test584 +++ b/tests/data/test584 @@ -55,18 +55,22 @@ http://%HOSTIP:%HTTPPORT/584 # # Verify data after the test has been "shot" + +s/^--------------------------[a-z0-9]*/--------------------------/ +s/boundary=------------------------[a-z0-9]*/boundary=------------------------/ + POST /584 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* Content-Length: 144 -Content-Type: multipart/form-data; boundary=------------------------3433323135333231 +Content-Type: multipart/form-data; boundary=------------------------ ---------------------------3433323135333231 +-------------------------- Content-Disposition: form-data; name="fake" party ---------------------------3433323135333231-- +---------------------------- POST /584 HTTP/1.1 Host: %HOSTIP:%HTTPPORT Accept: */* -- cgit v1.2.1