private function Uri::filterPath in Zircon Profile 8
Same name in this branch
- 8 vendor/zendframework/zend-diactoros/src/Uri.php \Zend\Diactoros\Uri::filterPath()
- 8 vendor/guzzlehttp/psr7/src/Uri.php \GuzzleHttp\Psr7\Uri::filterPath()
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/psr7/src/Uri.php \GuzzleHttp\Psr7\Uri::filterPath()
Filters the path of a URI
Parameters
$path:
Return value
string
2 calls to Uri::filterPath()
- Uri::applyParts in vendor/
guzzlehttp/ psr7/ src/ Uri.php - Apply parse_url parts to a URI.
- Uri::withPath in vendor/
guzzlehttp/ psr7/ src/ Uri.php - Return an instance with the specified path.
File
- vendor/
guzzlehttp/ psr7/ src/ Uri.php, line 570
Class
- Uri
- Basic PSR-7 URI implementation.
Namespace
GuzzleHttp\Psr7Code
private function filterPath($path) {
return preg_replace_callback('/(?:[^' . self::$charUnreserved . self::$charSubDelims . ':@\\/%]+|%(?![A-Fa-f0-9]{2}))/', [
$this,
'rawurlencodeMatchZero',
], $path);
}