Skip to content
Tcl Source Code History Of Ticket 921072ffffffffff
Login

History Of Ticket 921072ffffffffff

Artifacts Associated With Ticket 921072ffffffffff

  1. Ticket change [75a56fd205] (rid 105423) by nobody on 2004-03-22 15:35:40:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      A URL of the form
      http://foo.com/@bar.com/url.ext
      is misparsed with the host being bar.com instead of foo.com.
      
      The problem is an attempt to parse [email protected] type URL
      
      This code is where it happens:
      
             set exp {^(([^:]*)://)?([^@]+@)?([^/:]+)(:([0-9]+))?(/.*)?$}
             if {![regexp -nocase $exp $url x prefix proto user host y port srvurl]} {
      
      This modification (adding a / to the unrecognzed characters as part of a 
      "name@" field) solves the problem.
        
              set exp {^(([^:]*)://)?([^@/]+@)?([^/:]+)(:([0-9]+))?(/.*)?$}
              if {![regexp -nocase $exp $url x prefix proto user host y port srvurl]} {
      
      Submitted by [email protected]
      
    4. foundin initialized to: "obsolete: 8.4.6"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "nobody"
    9. subsystem initialized to: "29. http Package"
    10. title initialized to: "Regexp misparses some URL"
    11. type initialized to: "Bug"
  2. Ticket change [9abcd3210f] (rid 111006) by dgp on 2004-03-22 22:58:27:

    1. assignee changed to: "dgp"
    2. closedate changed to: "2004-03-22T15:58:27"
    3. closer changed to: "dgp"
    4. icomment:
      Logged In: YES 
      user_id=80530
      
      
      Dup. of 920728
      
      
    5. login: "dgp"
    6. mimetype: "text/plain"
    7. resolution changed to: "Duplicate"
    8. status changed to: "Closed"
    9. username: "dgp"