Artifacts Associated With Ticket 219041ffffffffffffffffffffffffffffffffff
Ticket change [0e2403d111] (rid 94556) by nobody on 2000-10-26 01:09:49:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 4089 Bug Version: 8.2.3 SubmitDate: '2000-01-26' LastModified: '2000-01-29' Severity: LOW Status: Released Submitter: techsupp ChangedBy: hobbs OS: Linux-SuSE FixedDate: '2000-01-29' FixedInVersion: 8.3 ClosedDate: '2000-10-25' Name: Zoran Vasiljevic ReproducibleScript: Do an POST request, i.e. ::http::geturl <someurl> -query a=b The query string, "a=b" gets an (extra) terminating newline. ObservedBehavior: The query data POST'ed to <someurl> is newline terminated. This extra newline is not accounted for in the calculated content-length header. DesiredBehavior: Well, just do not emit these extra linefeed... ;-) Patch: *** http.tcl.orig Wed Jan 26 15:25:26 2000 --- http.tcl Wed Jan 26 15:26:28 2000 *************** *** 280,286 **** puts $s "Content-Type: application/x-www-form-urlencoded" puts $s "" fconfigure $s -translation {auto binary} ! puts $s $state(-query) } else { puts $s "" } --- 280,286 ---- puts $s "Content-Type: application/x-www-form-urlencoded" puts $s "" fconfigure $s -translation {auto binary} ! puts -nonewline $s $state(-query) } else { puts $s "" } PatchFiles: library/http2.1/http.tcl library/http1.0/http.tcl Modified both 1.0 and 2.1(2) http for Tcl8.3.0. -- 01/29/2000 hobbs - foundin initialized to: "final: 8.2.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "69. Other"
- title initialized to: "Wrong Content-length on POST's in http2.1/http1.0"
- type initialized to: "Bug"
Ticket change [63be85c652] (rid 92636) by welch on 2000-10-26 08:34:05:
- closedate changed to: "2000-10-26T01:34:05"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Deleted"
Ticket change [b6a2852f8f] (rid 125454) by dgp on 2001-04-23 04:09:16:
- closedate changed to: "2001-04-22T21:09:16"
- closer changed to: "dgp"
- subsystem changed to: "29. http Package"