Tcl Library Source Code

View Ticket
Login
Ticket UUID: 3612359
Title: lexnormalize ignore leading ../
Type: Bug Version: None
Submitter: acapola Created on: 2013-04-30 20:18:01
Subsystem: fileutil Assigned To: andreas_kupries
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2024-06-01 15:53:17
Resolution: None Closed By:
    Closed on:
Description:
% package require fileutil
1.14.5
% fileutil::lexnormalize ../toto
toto
% fileutil::lexnormalize ../../toto
toto
% 

Seems wrong to me... I made a correction:
% fileutil_lexnormalize ../toto
../toto
% fileutil_lexnormalize ../../toto
../../toto
% fileutil_lexnormalize .././.././toto
../../toto
%
User Comments: anonymous added on 2024-06-01 15:53:17:
Are there any plans to fix this?  Without the fix, it is not useful if there can be leading .. in the path.

acapola added on 2013-05-01 03:18:03:

File Added - 463025: fileutil.tcl

Attachments: