Description: |
Hello,
following code shows the bug:
% info patchlevel
8.5.7
% package require uri
1.2.1
% uri::split host.td
port {} path host.td scheme http host {} query {}
% uri::split host.td http
port {} path host.td scheme http host {} query {}
% uri::split http://host.td
port {} path {} scheme http host host.td query {} pwd {} user {}
% uri::split host.td ftp
port {} path host.td scheme ftp host {} type {} user {} pwd {}
% uri::split ftp://host.td
port {} path {} scheme ftp host host.td type {} user {} pwd {}
So, the more common summary must be narrowed a bit, that a missing "http" scheme in the url with or without the default scheme "http" causes "uri::split" to do not return a user and pwd result list element.
Best regards,
Martin Lemburg
|