From ab792ef588bf8d9d6438f47186a2876b56b68d55 Mon Sep 17 00:00:00 2001 From: hobbs Date: Thu, 2 Aug 2001 01:19:23 +0000 Subject: * library/http/http.tcl (http::mapReply): the regsub'ing of \n and \t to escape them was unnecessary. --- library/http/http.tcl | 6 ++---- 1 file 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 -- -- cgit v0.12