diff --git a/tests/data/test2086 b/tests/data/test2086
index ce60aa831f..5055a69b66 100644
--- a/tests/data/test2086
+++ b/tests/data/test2086
@@ -34,6 +34,10 @@ libprereq
%HOST6IP:%HTTP6PORT/%TESTNUMBER#ipv6
+
+# Needed for MSYS2 to not treat the URL as a path list
+MSYS2_ARG_CONV_EXCL=*
+
# Verify data after the test has been "shot"