Skip to main content
Skip table of contents

UrlEscaper

Methods

Name

Type

Description

$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()

  • Parameter: input

  • Type: String

$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()

  • Parameter: input

  • Type: String

$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()

  • Parameter: input

  • Type: String


JavaScript errors detected

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

If this problem persists, please contact our support.