Skip to content
Tcl Source Code History Of Ticket 219041
Login

History Of Ticket 219041

Artifacts Associated With Ticket 219041

  1. Ticket change [0e2403d111] (rid 94556) by nobody on 2000-10-26 01:09:49:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
    4. foundin initialized to: "final: 8.2.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "69. Other"
    10. title initialized to: "Wrong Content-length on POST's in http2.1/http1.0"
    11. type initialized to: "Bug"
  2. Ticket change [63be85c652] (rid 92636) by welch on 2000-10-26 08:34:05:

    1. closedate changed to: "2000-10-26T01:34:05"
    2. closer changed to: "welch"
    3. priority changed to: "2"
    4. resolution changed to: "Fixed"
    5. status changed to: "Deleted"
  3. Ticket change [b6a2852f8f] (rid 125454) by dgp on 2001-04-23 04:09:16:

    1. closedate changed to: "2001-04-22T21:09:16"
    2. closer changed to: "dgp"
    3. subsystem changed to: "29. http Package"