1
0
Fork 0

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

pull/6249/head
Jordi Boggiano 2017-03-10 09:27:24 +01:00
parent e556649ad9
commit 95987f4aca
1 changed files with 2 additions and 2 deletions

View File

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