Browse Source

[Routing] added back a comment that were deleted previously

Fabien Potencier 14 năm trước cách đây
mục cha
commit
4f9060c929
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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' => '/',
     );