View Source z_url (zotonic_stdlib v1.22.0)
Summary
Functions
Given a relative URL and a base URL, calculate the absolute URL.
Decode a "data:" url to its parts. If the charset is not defined in the data then it is returned as "US-ASCII". The mime type defaults to "text/plain".
Find the definitive location of an url, removing url shorteners in the process. Identify as Curl to prevent url shorteners returning HTML pages.
Percent encoding/decoding as defined by RFC 3986 (http://tools.ietf.org/html/rfc3986).
Naive function to remove the protocol from an Url
Functions
-spec url_valid_char(Char) -> boolean() when Char :: non_neg_integer().