소스 검색

Merge pull request #6027 from stof/fix_url_field

Loosen the validation for the URL field of VCS repositories
Jordi Boggiano 8 년 전
부모
커밋
38e02eda7c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      res/composer-schema.json

+ 1 - 1
res/composer-schema.json

@@ -596,7 +596,7 @@
             "required": ["type", "url"],
             "properties": {
                 "type": { "type": "string", "enum": ["vcs", "github", "git", "gitlab", "git-bitbucket", "hg", "hg-bitbucket", "fossil", "perforce", "svn"] },
-                "url": { "type": "string", "format": "uri" },
+                "url": { "type": "string" },
                 "no-api": { "type": "boolean" },
                 "secure-http": { "type": "boolean" },
                 "svn-cache-credentials": { "type": "boolean" },