summaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2000-02-01 11:48:30 (GMT)
committerhobbs <hobbs@noemail.net>2000-02-01 11:48:30 (GMT)
commit80fae2fc23f9414ecd0db4dae2e2e8363f565282 (patch)
tree2b1b05f96fa90e194488ce9ac24c7e773171cb9a /library
parent6658a2a63c9e9490f958cab22621f29bf793fecb (diff)
downloadtcl-80fae2fc23f9414ecd0db4dae2e2e8363f565282.zip
tcl-80fae2fc23f9414ecd0db4dae2e2e8363f565282.tar.gz
tcl-80fae2fc23f9414ecd0db4dae2e2e8363f565282.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] FossilOrigin-Name: 90fb17614b0ce4b691292436c7bbd7b29535a35e
Diffstat (limited to 'library')
-rw-r--r--library/http/http.tcl4
-rw-r--r--library/http1.0/http.tcl4
-rw-r--r--library/http2.1/http.tcl4
-rw-r--r--library/http2.3/http.tcl4
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 ""
}