Skip to content
Tcl Source Code Artifact [174ef65a9b]
Login

Artifact [174ef65a9b]

Artifact 174ef65a9b1b2891cea484aab9dacc635bfcebc9:

Ticket change [174ef65a9b] - Ticket [2891171fffffffff|2891171fff] <i>URl checking too strict when using multiple question marks</i> status still Open with 4 other changes by nijtmans on 2009-11-03 19:14:33.
D 2009-11-03T19:14:33
J icomment So,\sI\sam\sglad\sI\sbrought\sthis\sup.\sSo\smany\sreactions.\sThanks\sall!\n\nAnswerings:\sYes\sFirefox\sand\sother\sbrowsers\sbehave\sthe\ssame\nway.\sNo\sbrowser\sdoes\sautomatic\sURL-encoding.\sThey\sall\npas\sthrough\sthe\sexact\sURL\sgiven.\n\nNo,\sI\scannot\sget\sthe\sserver\sfixed.\sRFC\s1738\sis\nindeed\srather\smisleading\sin\sthe\sinterpretation\nof\swhat\sis\sallowed\sin\sthe\s<query>\spart\sof\san\sURL.\n\nLucky\senough,\sRFC\s3986\shas\sa\smuch\sclearer\ndescription,\swhich\sconvinced\sme\sthat\smultiple\nquestion\smarks\sare\sallowed\sin\sa\squiery.\sCiting:\nthis\sRFC:\n\n===================================\n3.4.\s\sQuery\n\n\s\s\sThe\squery\scomponent\scontains\snon-hierarchical\sdata\sthat,\salong\swith\n\s\s\sdata\sin\sthe\spath\scomponent\s(Section\s3.3),\sserves\sto\sidentify\sa\n\s\s\sresource\swithin\sthe\sscope\sof\sthe\sURI's\sscheme\sand\snaming\sauthority\n\s\s\s(if\sany).\s\sThe\squery\scomponent\sis\sindicated\sby\sthe\sfirst\squestion\n\s\s\smark\s("?")\scharacter\sand\sterminated\sby\sa\snumber\ssign\s("#")\scharacter\n\s\s\sor\sby\sthe\send\sof\sthe\sURI.\n\n\s\s\s\s\s\squery\s\s\s\s\s\s\s=\s*(\spchar\s/\s"/"\s/\s"?"\s)\n\n\s\s\sThe\scharacters\sslash\s("/")\sand\squestion\smark\s("?")\smay\srepresent\sdata\n\s\s\swithin\sthe\squery\scomponent.\s\sBeware\sthat\ssome\solder,\serroneous\n\s\s\simplementations\smay\snot\shandle\ssuch\sdata\scorrectly\swhen\sit\sis\sused\sas\n\s\s\sthe\sbase\sURI\sfor\srelative\sreferences\s(Section\s5.1),\sapparently\n\s\s\sbecause\sthey\sfail\sto\sdistinguish\squery\sdata\sfrom\spath\sdata\swhen\n\s\s\slooking\sfor\shierarchical\sseparators.\s\sHowever,\sas\squery\scomponents\n\s\s\sare\soften\sused\sto\scarry\sidentifying\sinformation\sin\sthe\sform\sof\n\s\s\s"key=value"\spairs\sand\sone\sfrequently\sused\svalue\sis\sa\sreference\sto\n\s\s\sanother\sURI,\sit\sis\ssometimes\sbetter\sfor\susability\sto\savoid\spercent-\n\s\s\sencoding\sthose\scharacters.\n\n
J login nijtmans
J mimetype text/plain
J username nijtmans
K 2891171fffffffffffffffffffffffffffffffff
U nijtmans
Z 0ea3fbd76e986b594e72ef195dfd9f61