Fmlib_js.UrlURL utility functions
percent_encode_component s encodes the given string according to the rules defined in RFC 3986. This is meant to be called on a URL component (a path, query string, fragment etc.). Characters that are part of the URL syntax such as '/' or '?' are replaced.
This is a wrapper around Javascript's encodeURIComponent.
percent_decode_component s decodes the given string according to the rules defined in RFC 3986. This is meant to be called on a URL component (a path, query string, fragment etc.).
This is a wrapper around Javascript's decodeURIComponent.