瀏覽代碼

minor adjustments suggested by vicb

Igor Wiedler 14 年之前
父節點
當前提交
51d12758a0

+ 1 - 1
src/Symfony/Component/HttpFoundation/Request.php

@@ -543,7 +543,7 @@ class Request
         }
 
         // Remove port number from host
-        $host = preg_replace('/:(\d+)$/', '', $host);
+        $host = preg_replace('/:\d+$/', '', $host);
 
         return trim($host);
     }

文件差異過大導致無法顯示
+ 1 - 1
src/Symfony/Component/Validator/Constraints/UrlValidator.php