Artifacts Associated With Ticket 921072ffffffffff
Ticket change [75a56fd205] (rid 105423) by nobody on 2004-03-22 15:35:40:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- 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]
- foundin initialized to: "obsolete: 8.4.6"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "29. http Package"
- title initialized to: "Regexp misparses some URL"
- type initialized to: "Bug"
Ticket change [9abcd3210f] (rid 111006) by dgp on 2004-03-22 22:58:27:
- assignee changed to: "dgp"
- closedate changed to: "2004-03-22T15:58:27"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Dup. of 920728
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Duplicate"
- status changed to: "Closed"
- username: "dgp"