From 0524524dda95a69c710836ad6573ce152359ae9a Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 11 Mar 2024 18:31:07 +0000 Subject: [PATCH] Tweak test for go 1.16 Apparently later versions of go strip the leading path from file upload test --- submit_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submit_test.go b/submit_test.go index 159cd32..8c15853 100644 --- a/submit_test.go +++ b/submit_test.go @@ -434,7 +434,7 @@ Content-Disposition: form-data; name="version" 1 ------WebKitFormBoundarySsdgl8Nq9voFyhdO -Content-Disposition: form-data; name="file"; filename="etc/passwd.txt" +Content-Disposition: form-data; name="file"; filename="passwd.txt" file ------WebKitFormBoundarySsdgl8Nq9voFyhdO--