Tcl Library Source Code

View Ticket
Login
Ticket UUID: 7d12acd105601e1728e9312204a19c6a4cef82f3
Title: uri::split does not parse file schemes correctly on Windows
Type: Bug Version:
Submitter: apnadkarni Created on: 2017-08-29 06:19:27
Subsystem: uri Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2017-08-29 06:19:27
Resolution: None Closed By: nobody
    Closed on:
Description:
I am not entirely sure of URI syntax but I believe the following is a bug. At least uri::join and uri::split should be complementary.

% set p [uri::join scheme file path [pwd]]
file:///C:/src/tdom/tests
% uri::split $p
path /C:/src/tdom/tests scheme file

The path element should not conttain a leading /