Tcl Library Source Code

Ticket Change Details
Login
Overview

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

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/plain"
  4. comment changed 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. foundin changed to: "1.2.7"
  6. is_private changed to: "0"
  7. login: "griffin"
  8. priority changed to: "5 Medium"
  9. resolution changed to: "None"
  10. severity changed to: "Severe"
  11. status changed to: "Open"
  12. submitter changed to: "griffin"
  13. subsystem changed to: "uri"
  14. title changed to: "uri split failure"
  15. type changed to: "Bug"