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 | |
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]
-rw-r--r-- | library/http/http.tcl | 4 | ||||
-rw-r--r-- | library/http1.0/http.tcl | 4 | ||||
-rw-r--r-- | library/http2.1/http.tcl | 4 | ||||
-rw-r--r-- | library/http2.3/http.tcl | 4 |
4 files changed, 8 insertions, 8 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 "" } 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 "" } diff --git a/library/http2.1/http.tcl b/library/http2.1/http.tcl index 2b4cf43..dd5bcf0 100644 --- a/library/http2.1/http.tcl +++ b/library/http2.1/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 "" } diff --git a/library/http2.3/http.tcl b/library/http2.3/http.tcl index 2b4cf43..dd5bcf0 100644 --- a/library/http2.3/http.tcl +++ b/library/http2.3/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 "" } |