You are here

private function UriTemplate::decodeReserved in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/guzzle/src/UriTemplate.php \GuzzleHttp\UriTemplate::decodeReserved()

Removes percent encoding on reserved characters (used with + and # modifiers).

Parameters

string $string String to fix:

Return value

string

1 call to UriTemplate::decodeReserved()
UriTemplate::expandMatch in vendor/guzzlehttp/guzzle/src/UriTemplate.php
Process an expansion

File

vendor/guzzlehttp/guzzle/src/UriTemplate.php, line 237

Class

UriTemplate
Expands URI templates. Userland implementation of PECL uri_template.

Namespace

GuzzleHttp

Code

private function decodeReserved($string) {
  return str_replace(self::$delimsPct, self::$delims, $string);
}