소스 검색

[Validator] removed ftp and ftps from default url protocols

Kris Wallsmith 14 년 전
부모
커밋
4a18624927
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/Symfony/Component/Validator/Constraints/Url.php

+ 1 - 1
src/Symfony/Component/Validator/Constraints/Url.php

@@ -14,5 +14,5 @@ namespace Symfony\Component\Validator\Constraints;
 class Url extends \Symfony\Component\Validator\Constraint
 {
     public $message = 'This value is not a valid URL';
-    public $protocols = array('http', 'https', 'ftp', 'ftps');
+    public $protocols = array('http', 'https');
 }