summaryrefslogtreecommitdiffstats
path: root/library/http/http.tcl
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-08-02 01:19:23 (GMT)
committerhobbs <hobbs>2001-08-02 01:19:23 (GMT)
commitab792ef588bf8d9d6438f47186a2876b56b68d55 (patch)
treec085da8fdc9e774cf94bef6511069e4c999a6e0d /library/http/http.tcl
parentb78f4b3931377f2eeb542fe1ed5d93418c1b6382 (diff)
downloadtcl-ab792ef588bf8d9d6438f47186a2876b56b68d55.zip
tcl-ab792ef588bf8d9d6438f47186a2876b56b68d55.tar.gz
tcl-ab792ef588bf8d9d6438f47186a2876b56b68d55.tar.bz2
* library/http/http.tcl (http::mapReply): the regsub'ing of \n and
\t to escape them was unnecessary.
Diffstat (limited to 'library/http/http.tcl')
-rw-r--r--library/http/http.tcl6
1 files changed, 2 insertions, 4 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl
index c8c9908..ee968d2 100644
--- a/library/http/http.tcl
+++ b/library/http/http.tcl
@@ -9,7 +9,7 @@
# See the file "license.terms" for information on usage and
# redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: http.tcl,v 1.33 2000/06/02 23:14:46 hobbs Exp $
+# RCS: @(#) $Id: http.tcl,v 1.34 2001/08/02 01:19:23 hobbs Exp $
# Rough version history:
# 1.0 Old http_get interface
@@ -853,10 +853,8 @@ proc http::formatQuery {args} {
set alphanumeric a-zA-Z0-9
regsub -all \[^$alphanumeric\] $string {$formMap(&)} string
- regsub -all \n $string {\\n} string
- regsub -all \t $string {\\t} string
regsub -all {[][{})\\]\)} $string {\\&} string
- return [subst $string]
+ return [subst -nocommand $string]
}
# http::ProxyRequired --