parseUrl(sURL)

Last updated January 10, 2007

author

Description:
Parses a Url and returns a struct with keys defining the information in the Uri.
authority: the authority section of the Uri
directory: the directory path in the Uri (w/out parameters)
domain: the domain of the Uri
file: the file name in the Uri
fragment: the fragment of the uri (i.e. #namedAnchor)
params.url: the query string params as a struct
params.segment: the segment parameters as a struct (i.e. ;JSESSIONID=1234)
password: the password supplied in the Uri
path: the full Uri path--includes
embedded parameters (i.e. ;JSESSIONID=1234)
port: the port defined in the Uri
query: the query string
scheme: the scheme/protocol (i.e. http, https, ftp, etc.)
username: the username in the Uri