NAME

URL - useful utility functions for manipulating URLs.

ABSTRACT

Utility library providing useful URL functions for general Rest functionality.

add_leading_slash

Function to add a leading slash to a string if one does not exist.

strip_leading_slash

Function to remove any leading slashes from a string.

properties_array_to_string

Function to convert an array of a property values to a suitable string representation.

urlencode

Function to encode a string so it is suitable for use in urls.

url_input_sanitize

Sanitizes input url by removing trailing slashes and adding a protocol if missing.