Overview
| Artifact ID: | 77239285658ff5d09bac215e8070829828c25179 |
|---|---|
| Ticket: | 3185623fffffffffffffffffffffffffffffffff
Tcl treatment of ".." as path separator differs from Windows |
| User & Date: | apnadkarni on 2011-02-18 08:58:02 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed to:
While debugging a related bug - 3185609 - I discovered the following issue. Windows treats path components containing only "." differently from Tcl. If a path component contains more than 2 dots, Windows treats this the same as a single "." so c:/foo/bar/... (three dots in last component), is the same as c:/foo/bar/. Tcl, on the other hand, treats the path as a valid path with the tail being "...". This is what gets cached as the "normalized path" in various fields in the FSPathObj. Not sure what the external ramifications are (for example, code that compares paths after normalization would not result the same result as Windows) and it's a corner case anyways (Only happened to type in ... instead of .. by mistake) but just recording this inconsistency in case there might be bigger ramifications (security?) that I haven't thought of.
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "36. Pathname Management"
- title changed to:
Tcl treatment of ".." as path separator differs from Windows
- type changed to: "Bug"