Overview
| Artifact ID: | b06529c4da04752f6a81921e2b62738c623a3967 |
|---|---|
| Ticket: | 1358369fffffffffffffffffffffffffffffffff
geturl http://192.168.0.2/test/test.php?userid=sip:[email protected] |
| User & Date: | dkf on 2005-11-17 18:22:57 |
Changes
- 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. - login: "dkf"
- mimetype: "text/plain"
- username: "dkf"