diff options
author | hobbs <hobbs> | 2000-02-01 11:48:30 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2000-02-01 11:48:30 (GMT) |
commit | 557e06ed57689d519ff8ba53af717b9e1f7f2f80 (patch) | |
tree | 2b1b05f96fa90e194488ce9ac24c7e773171cb9a /library/http | |
parent | acb2f260bec04797bce0d16b709b530c511fe87f (diff) | |
download | tcl-557e06ed57689d519ff8ba53af717b9e1f7f2f80.zip tcl-557e06ed57689d519ff8ba53af717b9e1f7f2f80.tar.gz tcl-557e06ed57689d519ff8ba53af717b9e1f7f2f80.tar.bz2 |
* library/http1.0/http.tcl:
* library/http2.1/http.tcl: The query data POSTed was newline
terminated when it shouldn't be altered [Bug: 4089]
Diffstat (limited to 'library/http')
-rw-r--r-- | library/http/http.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/http/http.tcl b/library/http/http.tcl index 2b4cf43..dd5bcf0 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.20 2000/01/11 22:09:10 hobbs Exp $ +# RCS: @(#) $Id: http.tcl,v 1.21 2000/02/01 11:48:31 hobbs Exp $ package provide http 2.2 ;# This uses Tcl namespaces @@ -341,7 +341,7 @@ proc http::geturl { url args } { puts $s "Content-Type: $state(-type)" puts $s "" fconfigure $s -translation {auto binary} - puts $s $state(-query) + puts -nonewline $s $state(-query) } else { puts $s "" } |