diff --git a/src/Symfony/Component/Routing/Loader/XmlFileLoader.php b/src/Symfony/Component/Routing/Loader/XmlFileLoader.php index 300c5d674e0c..20294bbf0662 100644 --- a/src/Symfony/Component/Routing/Loader/XmlFileLoader.php +++ b/src/Symfony/Component/Routing/Loader/XmlFileLoader.php @@ -132,7 +132,7 @@ protected function validate(\DOMDocument $dom, $file) { $parts = explode('/', str_replace('\\', '/', __DIR__.'/schema/routing/routing-1.0.xsd')); $drive = '\\' === DIRECTORY_SEPARATOR ? array_shift($parts).'/' : ''; - $location = 'file:///'.$drive.implode('/', array_map('rawurlencode', $parts)); + $location = 'file:///'.$drive.implode('/', $parts); $current = libxml_use_internal_errors(true); if (!$dom->schemaValidate($location)) {