소스 검색

minor adjustments suggested by vicb

Igor Wiedler 14 년 전
부모
커밋
51d12758a0
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/Symfony/Component/HttpFoundation/Request.php
  2. 1 1
      src/Symfony/Component/Validator/Constraints/UrlValidator.php

+ 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