Skip to content
Tcl Source Code Artifact [7723928565]
Login

Artifact [7723928565]

Artifact 77239285658ff5d09bac215e8070829828c25179:

Ticket change [7723928565] - New ticket [3185623fffffffff|3185623fff] <i>Tcl treatment of &quot;..&quot; as path separator differs from Windows</i>. by apnadkarni on 2011-02-18 08:58:02.
D 2011-02-18T08:58:02
J assignee vincentdarley
J cmimetype text/plain
J comment While\sdebugging\sa\srelated\sbug\s-\s3185609\s-\sI\sdiscovered\sthe\sfollowing\sissue.\s\n\nWindows\streats\spath\scomponents\scontaining\sonly\s"."\sdifferently\sfrom\sTcl.\sIf\sa\spath\scomponent\scontains\smore\sthan\s2\sdots,\sWindows\streats\sthis\sthe\ssame\sas\sa\ssingle\s"."\sso\sc:/foo/bar/...\s\s(three\sdots\sin\slast\scomponent),\sis\sthe\ssame\sas\sc:/foo/bar/.\s\s\n\nTcl,\son\sthe\sother\shand,\streats\sthe\spath\sas\sa\svalid\spath\swith\sthe\stail\sbeing\s"...".\sThis\sis\swhat\sgets\scached\sas\sthe\s"normalized\spath"\sin\svarious\sfields\sin\sthe\sFSPathObj.\n\nNot\ssure\swhat\sthe\sexternal\sramifications\sare\s(for\sexample,\scode\sthat\scompares\spaths\safter\snormalization\swould\snot\sresult\sthe\ssame\sresult\sas\sWindows)\sand\sit's\sa\scorner\scase\sanyways\s(Only\shappened\sto\stype\sin\s...\sinstead\sof\s..\sby\smistake)\sbut\sjust\srecording\sthis\sinconsistency\sin\scase\sthere\smight\sbe\sbigger\sramifications\s(security?)\sthat\sI\shaven't\sthought\sof.
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter apnadkarni
J subsystem 36.\sPathname\sManagement
J title Tcl\streatment\sof\s".."\sas\spath\sseparator\sdiffers\sfrom\sWindows
J type Bug
K 3185623fffffffffffffffffffffffffffffffff
U apnadkarni
Z 41ddc9366107328d59c56b2635141a90