File join with a member that contain "//" caractere sequency
Closed / Duplicate2188665fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-10-23 06:59:46
set Toto "sync://mssync.tun.com:8080/Projects" set nothing "Tunisien" when we execute ->[file join $Toto $nothing] We get ->sync:/mssync.tun.com:8080/Projects/Tunisien and Not ->sync://mssync.tun.com:8080/Projects/Tunisien Can i know more about this bug Thanks
dkfplain2008-10-23 14:56:22
Standard native path normalization converts // to / (hence the effect you see) and you've apparently not installed any extension that teaches Tcl that sync:// is a special filesystem root. The tcllib uri package is probably more use, so long as you convert the sync: prefix to http: during processing.
dgpplain2008-10-23 21:48:44
This matter is already raised in 2187116. Followup there.
Log in (anonymous is fine) to add a comment.