Artifacts Associated With Ticket 218690
Ticket change [b176f70bd4] (rid 98152) by nobody on 2000-10-26 01:04:09:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
OriginalBugID: 1747 Bug Version: 8.1b2 SubmitDate: '1999-04-07' LastModified: '1999-08-05' Severity: MED Status: Released Submitter: pat ChangedBy: hobbs RelatedBugIDs: 2502 OS: Other Machine: NA FixedDate: '1999-08-05' FixedInVersion: 8.2b2 ClosedDate: '2000-10-25' Name: Jeffrey Hobbs Comments: This works for sending data with nulls in it (ie - gifs) to POST null friendly scripts (ie - Tcl8.1 but not necessarily Tcl8.0). The proper solution should be multipart mime encoding support in ::http::formatQuery and a -qeury(type|encoding) option to ::http::geturl as the current x-www-urlencoding is hard-coded. That requires more overhauling in the http.tcl, but is 100% valid. I have the necessary code should you want to take this option. ObservedBehavior: In using the ::http::formatQuery to post a URL with binary data, it complains that formMap(\x00) doesn't exist. This is simply because the null wasn't accounted for in creating formMap. Patch: The patch has two simple variations for http2.0/http.tcl. Either change line 30 from {set i 1} to {set i 0} or change line 38 to include " \x00 %00". I chose the latter because it involves less processing, but the former may be more appropriate in context. PatchFiles: <tcl_libraries>/http2.0/http.tcl Added to patch for 8.2b3 made with fix for bug 2502. -- 08/05/1999 hobbs - foundin initialized to: "obsolete: 8.1b2"
- 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: "http v2 package doesn't support null"
- type initialized to: "Bug"
Ticket change [5226b8f5e6] (rid 126262) by welch on 2000-10-26 08:27:11:
- closedate changed to: "2000-10-26T01:27:11"
- closer changed to: "welch"
- priority changed to: "2"
- resolution changed to: "Fixed"
- status changed to: "Deleted"
Ticket change [fae22cd2bf] (rid 91960) by dgp on 2001-04-17 05:47:33:
- closedate changed to: "2001-04-16T22:47:33"
- closer changed to: "dgp"
- subsystem changed to: "29. http Package"