From 557e06ed57689d519ff8ba53af717b9e1f7f2f80 Mon Sep 17 00:00:00 2001 From: hobbs Date: Tue, 1 Feb 2000 11:48:30 +0000 Subject: * 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] --- library/http/http.tcl | 4 ++-- library/http1.0/http.tcl | 4 ++-- library/http2.1/http.tcl | 4 ++-- 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 "" } -- cgit v0.12