summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2001-08-02 01:19:22 (GMT)
committerhobbs <hobbs@noemail.net>2001-08-02 01:19:22 (GMT)
commitf81ad0eec0b7cc151f3a9b8d058e205f88210ca7 (patch)
treec085da8fdc9e774cf94bef6511069e4c999a6e0d /library
parent4bc8c4ac71f5dee463260fdd9e4f22fa1cf2e36b (diff)
downloadtcl-f81ad0eec0b7cc151f3a9b8d058e205f88210ca7.zip
tcl-f81ad0eec0b7cc151f3a9b8d058e205f88210ca7.tar.gz
tcl-f81ad0eec0b7cc151f3a9b8d058e205f88210ca7.tar.bz2
* library/http/http.tcl (http::mapReply): the regsub'ing of \n and
\t to escape them was unnecessary. FossilOrigin-Name: d9f7d0082fdfd7b36e3a6f0c4abb18e12b00da0d
Diffstat (limited to 'library')
-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 --