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/http1.0/http.tcl | |
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/http1.0/http.tcl')
-rw-r--r-- | library/http1.0/http.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/http1.0/http.tcl b/library/http1.0/http.tcl index fe78879..2c548bb 100644 --- a/library/http1.0/http.tcl +++ b/library/http1.0/http.tcl @@ -5,7 +5,7 @@ # These procedures use a callback interface to avoid using vwait, # which is not defined in the safe base. # -# RCS: @(#) $Id: http.tcl,v 1.3 1998/09/14 18:40:03 stanton Exp $ +# RCS: @(#) $Id: http.tcl,v 1.4 2000/02/01 11:48:30 hobbs Exp $ # # See the http.n man page for documentation @@ -181,7 +181,7 @@ proc http_get { url args } { puts $s "Content-Type: application/x-www-form-urlencoded" puts $s "" fconfigure $s -translation {auto binary} - puts $s $state(-query) + puts -nonewline $s $state(-query) } else { puts $s "" } |