Skip to main content
Skip table of contents

UrlEscaper

Methods

NameTypeDescription
$urlEscaper.escapeFormParameter(input)String

Escapes the given string for inclusion in URL form parameters.

Uses a Guava URL escaper for form parameters:UrlEscapers.html#urlFormParameterEscaper()

ParameterTypeDescription
inputString
$urlEscaper.escapeFragment(input)String

Escapes the given string for use in an URL fragment.

Uses a Guava URL escaper for URL fragments:UrlEscapers.html#urlFragmentEscaper()

ParameterTypeDescription
inputString
$urlEscaper.escapePathSegment(input)String

Escapes the given string for use as a URL path segment.

Uses a Guava URL escaper for path segments:UrlEscapers.html#urlPathSegmentEscaper()

ParameterTypeDescription
inputString


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.