URI

Members

Static functions

filenameFromUri
string filenameFromUri(string uri, string hostname)

Converts an escaped ASCII-encoded URI to a local filename in the encoding used for filenames.

filenameToUri
string filenameToUri(string filename, string hostname)

Converts an absolute filename to an escaped ASCII-encoded URI, with the path component following Section 3.3. of RFC 2396.

uriEscapeString
string uriEscapeString(string unescaped, string reservedCharsAllowed, bool allowUtf8)

Escapes a string for use in a URI.

uriListExtractUris
string[] uriListExtractUris(string uriList)

Splits an URI list conforming to the text/uri-list mime type defined in RFC 2483 into individual URIs, discarding any comments. The URIs are not validated.

uriParseScheme
string uriParseScheme(string uri)

Gets the scheme portion of a URI string. RFC 3986 decodes the scheme as: |[ URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] ]| Common schemes include "file", "http", "svn+ssh", etc.

uriUnescapeSegment
string uriUnescapeSegment(string escapedString, string escapedStringEnd, string illegalCharacters)

Unescapes a segment of an escaped string.

uriUnescapeString
string uriUnescapeString(string escapedString, string illegalCharacters)

Unescapes a whole escaped string.

Meta