.
D 2012-03-07T07:17:48
J assignee patthoyts
J cmimetype text/plain
J comment http://tools.ietf.org/html/rfc3986\s2.1.\ssays:\n"...\sURI\sproducers\sand\snormalizers\sshould\suse\suppercase\shexadecimal\sdigits\sfor\sall\spercent-encodings."\n\nThe\spatch\sbelow\sfixes\sthe\sencoding\smap\screated\sin\shttp::init\sto\suse\suppercase\shex\sdigits.\nLower\scase\shex\sencoding\scurrently\sproduced\sby\sTcl's\shttp::\scauses\sat\sleast\sone\sAmazon\sAWS\sauthentication\sscheme\sto\sfail.\nAs\sit\sstands,\severy\sTcl\sAWS\stool\shas\sto\simplement\sits\sown\sspecial\surl\sencoder\s(e.g.\stclib::3S,\stclcloud,\setc).\nWith\sthis\spatch\shttp::formatQuery\scan\sbe\sused\sto\sprepare\sAWS\srequests.\n\nSee\shttp://docs.amazonwebservices.com/AWSSimpleQueueService/2011-10-01/SQSDeveloperGuide/Query_QueryAuth.html.\n\n\n---\stcl8.6b1/library/http/http.tcl.orig2012-03-07\s17:57:05.000000000\s+1100\n+++\stcl8.6b1/library/http/http.tcl2012-03-07\s17:57:15.000000000\s+1100\n@@\s-39,7\s+39,7\s@@\n\sfor\s{set\si\s0}\s{$i\s<=\s256}\s{incr\si}\s{\n\s\s\s\s\sset\sc\s[format\s%c\s$i]\n\s\s\s\s\sif\s{![string\smatch\s{[-._~a-zA-Z0-9]}\s$c]}\s{\n-set\smap($c)\s%[format\s%.2x\s$i]\n+set\smap($c)\s%[format\s%.2X\s$i]\n\s\s\s\s\s}\n\s}\n\s#\sThese\sare\shandled\sspecially\n\n\nIn\sthe\smeantime\sthe\sfollowing\s"dynamic"\spatch\sserves\sa\swork-around:\n\ndict\sfor\s{n\sv}\s$::http::formMap\s{\n\s\s\s\sdict\sset\s::http::formMap\s$n\s[string\stoupper\s$v]\n}\n\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter samoconnor
J subsystem 29.\shttp\sPackage
J title http::formatQuery\sRFC\s3986\scompliance,\sAWS\sCompatibility\sfix
J type Patch
K 3498327fffffffffffffffffffffffffffffffff
U samoconnor
Z c29bb31851f3a31fa296bd9875cf6931