3 URI Component Parsing
function | |
| |
function | |
| |
function | |
| |
function | |
| |
function | |
| |
function | |
| |
function | |
| |
function | |
| |
function | |
| |
| |
function | |
|
Encoding and decoding functions specified by RFC 3986.
The encoding, in line with RFC 3986’s recommendation, represents a
character as-is, if possible. The decoding allows any characters to be
represented by it hex value, and it allows a character to be incorrectly
represented as-is. The “unreserved” encoders convert !,
*, ', (, and ) to hex
representations, which is not recommended by RFC 3986 but avoids
problems with some contexts.