소스 검색

Do not validate URLs properly in json schema, fixes #6243

Jordi Boggiano 8 년 전
부모
커밋
95987f4aca
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      res/composer-schema.json

+ 2 - 2
res/composer-schema.json

@@ -588,7 +588,7 @@
             "required": ["type", "url"],
             "properties": {
                 "type": { "type": "string", "enum": ["composer"] },
-                "url": { "type": "string", "format": "uri" },
+                "url": { "type": "string" },
                 "options": {
                     "type": "object",
                     "additionalProperties": true
@@ -645,7 +645,7 @@
             "required": ["type", "url"],
             "properties": {
                 "type": { "type": "string", "enum": ["pear"] },
-                "url": { "type": "string", "format": "uri" },
+                "url": { "type": "string" },
                 "vendor-alias": { "type": "string" }
             }
         },