diff options
author | hobbs <hobbs> | 2005-10-05 05:03:38 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2005-10-05 05:03:38 (GMT) |
commit | ffcbe192a990ccb07e04eb6f162091c91d8f377b (patch) | |
tree | 521d0e6199ca9835bbbf615d75c16f3d7cb57389 /tests | |
parent | 7e7f91c8f1a841e4f5eb79bc40eebdac7c153e56 (diff) | |
download | tcl-ffcbe192a990ccb07e04eb6f162091c91d8f377b.zip tcl-ffcbe192a990ccb07e04eb6f162091c91d8f377b.tar.gz tcl-ffcbe192a990ccb07e04eb6f162091c91d8f377b.tar.bz2 |
* tests/http.test: do not URI encode -._~ according
* library/http/http.tcl (init): to RFC3986. [Bug 1182373] (aho)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/http.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/http.test b/tests/http.test index 86811f4..2a12aff 100644 --- a/tests/http.test +++ b/tests/http.test @@ -12,7 +12,7 @@ # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # # -# RCS: @(#) $Id: http.test,v 1.38 2004/05/25 22:56:33 hobbs Exp $ +# RCS: @(#) $Id: http.test,v 1.39 2005/10/05 05:03:38 hobbs Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -483,7 +483,7 @@ test http-5.3 {http::formatQuery} { test http-5.4 {http::formatQuery} { http::formatQuery name1 ~bwelch name2 \xa1\xa2\xa2 -} {name1=%7ebwelch&name2=%c2%a1%c2%a2%c2%a2} +} {name1=~bwelch&name2=%c2%a1%c2%a2%c2%a2} test http-5.5 {http::formatQuery} { set enc [http::config -urlencoding] @@ -491,7 +491,7 @@ test http-5.5 {http::formatQuery} { set res [http::formatQuery name1 ~bwelch name2 \xa1\xa2\xa2] http::config -urlencoding $enc set res -} {name1=%7ebwelch&name2=%a1%a2%a2} +} {name1=~bwelch&name2=%a1%a2%a2} test http-6.1 {http::ProxyRequired} { http::config -proxyhost [info hostname] -proxyport $port |