Skip to content
Tcl Source Code Artifact [b176f70bd4]
Login

Artifact [b176f70bd4]

Artifact b176f70bd4923066fd8c0b847fac59809fcbc660:

Ticket change [b176f70bd4] - New ticket [218690ffffffffff|218690ffff] <i>http v2 package doesn&#39;t support null</i>. by nobody on 2000-10-26 01:04:09.
D 2000-10-26T01:04:09
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1747\sBug\nVersion:\s8.1b2\nSubmitDate:\s'1999-04-07'\nLastModified:\s'1999-08-05'\nSeverity:\sMED\nStatus:\sReleased\nSubmitter:\spat\nChangedBy:\shobbs\nRelatedBugIDs:\s2502\nOS:\sOther\nMachine:\sNA\nFixedDate:\s'1999-08-05'\nFixedInVersion:\s8.2b2\nClosedDate:\s'2000-10-25'\n\n\nName:\nJeffrey\sHobbs\n\nComments:\nThis\sworks\sfor\ssending\sdata\swith\snulls\sin\sit\s(ie\s-\sgifs)\sto\sPOST\snull\n\s\s\s\sfriendly\sscripts\s(ie\s-\sTcl8.1\sbut\snot\snecessarily\sTcl8.0).\s\sThe\sproper\n\s\s\s\ssolution\sshould\sbe\smultipart\smime\sencoding\ssupport\sin\n\s\s\s\s::http::formatQuery\n\s\s\s\sand\sa\s-qeury(type|encoding)\soption\sto\s::http::geturl\sas\sthe\scurrent\n\s\s\s\sx-www-urlencoding\sis\shard-coded.\s\sThat\srequires\smore\soverhauling\sin\sthe\n\s\s\s\shttp.tcl,\sbut\sis\s100%\svalid.\s\sI\shave\sthe\snecessary\scode\sshould\syou\swant\n\s\s\s\sto\stake\sthis\soption.\n\nObservedBehavior:\nIn\susing\sthe\s::http::formatQuery\sto\spost\sa\sURL\swith\sbinary\sdata,\n\s\s\s\sit\scomplains\sthat\sformMap(\\x00)\sdoesn't\sexist.\s\sThis\sis\ssimply\n\s\s\s\sbecause\sthe\snull\swasn't\saccounted\sfor\sin\screating\sformMap.\n\nPatch:\nThe\spatch\shas\stwo\ssimple\svariations\sfor\shttp2.0/http.tcl.\nEither\schange\sline\s30\sfrom\s{set\si\s1}\sto\s{set\si\s0}\sor\nchange\sline\s38\sto\sinclude\s"\s\\x00\s%00".\n\nI\schose\sthe\slatter\sbecause\sit\sinvolves\sless\sprocessing,\sbut\nthe\sformer\smay\sbe\smore\sappropriate\sin\scontext.\n\nPatchFiles:\n<tcl_libraries>/http2.0/http.tcl\n\n\n\nAdded\sto\spatch\sfor\s8.2b3\smade\swith\sfix\sfor\sbug\s2502.\s\n--\s08/05/1999\shobbs
J foundin obsolete:\s8.1b2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title http\sv2\spackage\sdoesn't\ssupport\snull
J type Bug
K 218690ffffffffffffffffffffffffffffffffff
U nobody
Z ec43c744c94298381004cf03bcb7d385