]> granicus.if.org Git - curl/commitdiff
test1201: Add a trailing `?' to the selector
authorLeonardo Taccari <iamleot@gmail.com>
Wed, 12 Dec 2018 16:11:20 +0000 (17:11 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 13 Dec 2018 09:24:01 +0000 (10:24 +0100)
This verify that the `?' in the selector is kept as is.

Verifies the fix in #3370

tests/data/test1201

index 81a9fe4250e3a8dfcbe58adcabdaa550b1c29af0..29a059aa07c6ecf452310b993a94dcffe86b4a15 100644 (file)
@@ -25,7 +25,7 @@ gopher
 Gopher selector
  </name>
  <command>
-gopher://%HOSTIP:%GOPHERPORT/1/selector/SELECTOR/1201
+gopher://%HOSTIP:%GOPHERPORT/1/selector/SELECTOR/1201?
 </command>
 </client>
 
@@ -33,7 +33,7 @@ gopher://%HOSTIP:%GOPHERPORT/1/selector/SELECTOR/1201
 # Verify data after the test has been "shot"
 <verify>
 <protocol>
-/selector/SELECTOR/1201\r
+/selector/SELECTOR/1201?\r
 </protocol>
 </verify>
 </testcase>