Skip to content
Tcl Source Code History Of Ticket 1358369fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1358369fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1358369fffffffffffffffffffffffffffffffff

  1. Ticket change [9836b02118] (rid 110567) by xiaotaow on 2005-11-16 19:35:29:

    1. assignee initialized to: "hobbs"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      http::geturl
      http://192.168.0.2/test/test.php?userid=sip:[email protected]
      
      will report an error. 
      
      The regular expression 
      set exp
      {^(([^:]*)://)?([^@]+@)?([^/:]+)(:([0-9]+))?(/.*)?$}
      
      will get confused by the '@' in the URL.
      
      -Xiaotao
      
    4. foundin initialized to: "obsolete: 8.4.11"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "xiaotaow"
    9. subsystem initialized to: "29. http Package"
    10. title initialized to:
      geturl http://192.168.0.2/test/test.php?userid=sip:[email protected]
      
    11. type initialized to: "Bug"
  2. Ticket change [3a408fbd9f] (rid 112533) by hobbs on 2005-11-17 02:41:11:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      That is not a valid geturl request.  The URL is not strictly
      valid - it should be encoded, which http provides the
      functions for.  The query part should be formed by:
      
      (Tcl) 50 % http::formatQuery userid sip:[email protected]
      userid=sip%3ax%40abc.com
      
      that is proper URL formatting.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. resolution changed to: "Invalid"
    5. status changed to: "Closed"
    6. username: "hobbs"
  3. Ticket change [ef48f6e278] (rid 108966) by hobbs on 2005-11-17 02:41:13:

    1. closedate changed to: "2005-11-16T19:41:13"
    2. closer changed to: "hobbs"
  4. Ticket change [b06529c4da] (rid 97976) by dkf on 2005-11-17 18:22:57:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      On the other hand, handling URLs more robustly is a good
      thing anyway. Tests indicate that the RE:
      {(?x)
         ^
         (?: (\w+) : )# <protocol>
         (?: //
            (?: ([^@/:#?]+) (?: : ([^@/#?]+) )? @ )?# <user> <pass>
            ( [^/:#?]+ )# <host>
            (?: : (\d+) )?# <port>
         )?
         ( / [^#]* )?# <path> (including query)
         (?: \# (.*) )?# <fragment>
         $
      }
      
      offers both robust parsing (including of a number of rarely
      used parts of the URL spec) and yet is also fairly easy to
      understand. It also doesn't capture bits that aren't
      interesting.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  5. Ticket change [54b728718c] (rid 93993) by hobbs on 2005-11-18 01:30:01:

    1. assignee changed to: "dkf"
  6. Ticket change [a8e9612e6b] (rid 99072) by hobbs on 2005-11-18 01:30:02:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      Donal - you can reopen if you want to provide a better RE,
      but make sure to add more tests along with it.  Regardless,
      better conformance to the x-url-encoding for users should be
      directed.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  7. Ticket change [a198a660e5] (rid 109753) by dkf on 2005-11-18 07:07:23:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Reopening to stop me from losing the issue...
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. status changed to: "Open"
    5. username: "dkf"
  8. Ticket change [021b39207a] (rid 119590) by dkf on 2005-11-18 21:01:12:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      Added improved validator (I think it is compliant with RFC
      3986, which I believe to be the most up-to-date URI spec) to
      HEAD using attached patch.
      
      I don't plan to backport this patch.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. resolution changed to: "Fixed"
    5. status changed to: "Closed"
    6. username: "dkf"
  9. Add attachment "httpparse.diff" [9eacfd6115] (rid 96517) by dkf on 2005-11-18 21:01:13.

  10. Ticket change [b1c3bdde3a] (rid 98212) by dkf on 2005-11-18 21:01:13:

    1. closedate changed to: "2005-11-18T14:01:13"
    2. closer changed to: "dkf"
  11. Ticket change [59e02dcb1e] (rid 118040) by dkf on 2005-11-18 21:01:15:

    1. icomment:
      
      
      File Added - 156758: httpparse.diff
      
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  12. Ticket change [cb506637d7] (rid 95493) by dkf on 2005-11-18 22:21:38:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      backported after prodding from dgp
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"