summaryrefslogtreecommitdiffstats
path: root/library/http/http.tcl
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-06 20:40:57 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2013-01-06 20:40:57 (GMT)
commit4d73199fb21e569752b34938e8155e9e6669538c (patch)
treed8e8940c78ff44216148bd4975930cf8a4225869 /library/http/http.tcl
parenta9a9afc838c1d357e9a50c1045a90276f49edb42 (diff)
downloadtcl-4d73199fb21e569752b34938e8155e9e6669538c.zip
tcl-4d73199fb21e569752b34938e8155e9e6669538c.tar.gz
tcl-4d73199fb21e569752b34938e8155e9e6669538c.tar.bz2
Don't depend on Spencer-specific regexp syntax (/u and /U) any more in unrelated places
. Bump http package to 2.8.6.
Diffstat (limited to 'library/http/http.tcl')
-rw-r--r--library/http/http.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl
index d57e3ce..cb221a3 100644
--- a/library/http/http.tcl
+++ b/library/http/http.tcl
@@ -11,7 +11,7 @@
package require Tcl 8.6
# Keep this in sync with pkgIndex.tcl and with the install directories in
# Makefiles
-package provide http 2.8.5
+package provide http 2.8.6
namespace eval http {
# Allow resourcing to not clobber existing data
@@ -1379,7 +1379,7 @@ proc http::mapReply {string} {
}
set converted [string map $formMap $string]
if {[string match "*\[\u0100-\uffff\]*" $converted]} {
- regexp {[\u0100-\uffff]} $converted badChar
+ regexp "\[\u0100-\uffff\]" $converted badChar
# Return this error message for maximum compatability... :^/
return -code error \
"can't read \"formMap($badChar)\": no such element in array"