Explorar o código

[Routing] added back a comment that were deleted previously

Fabien Potencier %!s(int64=14) %!d(string=hai) anos
pai
achega
4f9060c929
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/Symfony/Component/Routing/Generator/UrlGenerator.php

+ 1 - 0
src/Symfony/Component/Routing/Generator/UrlGenerator.php

@@ -29,6 +29,7 @@ class UrlGenerator implements UrlGeneratorInterface
 {
     protected $context;
     protected $decodedChars = array(
+        // %2F is not valid in a URL, so we don't encode it (which is fine as the requirements explicitely allowed it)
         '%2F' => '/',
     );