rawurldecode
laravel/framework
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Decode URL-encoded strings
rawurldecode
(
string $string
):
string
public function
decodedPath
()
{
return
rawurldecode
(
$this
->
path
());
}
src/Illuminate/Http/Request.php
{
$path
=
rtrim
(
$request
->
getPathInfo
(),
'/'
) ?:
'/'
;
return
preg_match
(
$route
->
getCompiled
()->
getRegex
(),
rawurldecode
(
$path
));
}
}
src/Illuminate/Routing/Matching/UriValidator.php