vibe.textfilter.urlencode

URL-encoding implementation

Members

Functions

filterURLDecode
void filterURLDecode(R dst, const(char)[] str, bool form_encoding)

Writes the decoded version of the given URL encoded string to an output range.

filterURLEncode
void filterURLEncode(R dst, const(char)[] str, const(char)[] allowed_chars, bool form_encoding)

Writes the URL encoded version of the given string to an output range.

formDecode
T[] formDecode(T[] str)

Returns the decoded version of a form encoded string.

formEncode
T[] formEncode(T[] str, const(char)[] allowed_chars)

Returns the form encoded version of a given string.

isURLEncoded
bool isURLEncoded(const(char)[] str, const(char)[] reserved_chars)

Checks whether a given string has valid URL encoding.

urlDecode
T[] urlDecode(T[] str)

Returns the decoded version of a given URL encoded string.

urlEncode
T[] urlEncode(T[] str, const(char)[] allowed_chars)

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Jan Krüger, Sönke Ludwig