URLs and links
Edit on GitHub
- is_site_url
-
Test if the given URL is a url for the current site.
- url
-
Generates the relative URL for the given dispatch information.
- url_abs
-
Generates an absolute URL for the given dispatch information.
- sanitize_url
-
Sanitize an URL. Removes URLs that might be dangerous, like javascript: URLs.
- is_letsencrypt_valid_hostname
-
Test if a hostname can be used for a Let’s Encrypt certificate.
- urlize
-
Find urls in the given input and make them clickable.
- escape_link
-
Convert any URLs in a plaintext into HTML links, with adding the
rel="nofollow" attribute, and replaces all newlines with <br> tags.
- urlencode
-
Make a text safe for URLs.
- urldecode
-
Decode a text where characters are encoded as URL-safe characters.
- parse_url
-
Parses an URL (URI) using uri_string:parse/1 .
Tuples
Filters
Variables