Tcl Library Source Code

Ticket Change Details
Bounty program for improvements to Tcl and certain Tcl packages.

Artifact ID: 30644e2f03b63ccb92bf41f4e93d0ff9794ada85f60a38d2ce88f53ed8c446fb
Ticket: 75d132cbb2e7b3389218f20110bdbea91f607158
uri split failure
User & Date: griffin 2020-01-23 15:26:38

  1. Change assignee to "nobody"
  2. Change closer to "nobody"
  3. Change cmimetype to "text/plain"
  4. Change comment to:

    uri::split <path> "file" fails on Windows when the <path> contains a drive letter:

    % uri::split C:/Users/fred/address.txt file scheme=C unknown scheme 'C' in 'C:/Users/fred/address.txt'

    In this case, the presence of the ':' is overriding the explicit choice of "file" for the scheme. This use to work in version 1.2.1, but that appears to have been by accident because a regexp ignored uppercase letters. A lowercase 'c' would fail the same way in the older release.

    I would think the explicit "file" parameter should override any guessing by the code.

  5. Change foundin to "1.2.7"
  6. Change is_private to "0"
  7. Change login to "griffin"
  8. Change priority to "5 Medium"
  9. Change resolution to "None"
  10. Change severity to "Severe"
  11. Change status to "Open"
  12. Change submitter to "griffin"
  13. Change subsystem to "uri"
  14. Change title to "uri split failure"
  15. Change type to "Bug"