parent
a8c10ac6e5
commit
e9dda1ee0a
|
@ -188,7 +188,7 @@ class UrlGenerator implements UrlGeneratorInterface, ConfigurableRequirementsInt
|
|||
if ('' === $url) {
|
||||
$url = '/';
|
||||
} else if (preg_match($this->urlEncodingSkipRegexp, $url)) {
|
||||
// the context base URL is already encoded (see Symfony\Component\HttpFoundation\Request)
|
||||
// the contexts base URL is already encoded (see Symfony\Component\HttpFoundation\Request)
|
||||
$url = strtr(rawurlencode($url), $this->decodedChars);
|
||||
}
|
||||
|
||||
|
|
Reference in New Issue