From 95987f4acac9ffd224e7ddebb7d987cd002e1a78 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 10 Mar 2017 09:27:24 +0100 Subject: [PATCH] Do not validate URLs properly in json schema, fixes #6243 --- res/composer-schema.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/res/composer-schema.json b/res/composer-schema.json index 8bfa12356..458f446c2 100644 --- a/res/composer-schema.json +++ b/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" } } },