From 90abb74ff0e3134d8647722cee36b1815c14143d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 3 Nov 2017 15:04:53 +0200 Subject: curl: pass through [] in URLs instead of calling globbing error Assisted-by: Per Lundberg Fixes #2044 Closes #2046 Closes #2048 --- tests/data/test1290 | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 tests/data/test1290 (limited to 'tests/data/test1290') diff --git a/tests/data/test1290 b/tests/data/test1290 new file mode 100644 index 000000000..e556303bf --- /dev/null +++ b/tests/data/test1290 @@ -0,0 +1,48 @@ + + + +HTTP +HTTP GET +globbing + + + +# +# Server-side + + +HTTP/1.1 200 OK +Content-Length: 6 +Connection: close +Content-Type: text/html + +-foo- + + + +# Client-side + + +http + + +Verify URL globbing ignores [] + + +"http://%HOSTIP:%HTTPPORT/we/want/[]/page/1290" + + + +# Verify data after the test has been "shot" + + +^User-Agent:.* + + +GET /we/want/[]/page/1290 HTTP/1.1 +Host: %HOSTIP:%HTTPPORT +Accept: */* + + + + -- cgit v1.2.1