From b9ca77b19ed0a4f6e8b9730c42bd960215d688b3 Mon Sep 17 00:00:00 2001 From: Eric Cornelissen Date: Wed, 3 Jul 2019 22:37:06 +0100 Subject: [PATCH] Increase specificity of source URL pattern for JSONLint (#1502) * Increase specificity of source URL pattern for JSONLint ... to catch issues such as in #1494 * Temporary reversion of 7704018 for testing * Revert e44bf83 * Reduce JSON schema url pattern specifity to just not allowing spaces * Temporary reversion of 7704018 for testing * Revert aa805e0a --- .jsonlintschema | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.jsonlintschema b/.jsonlintschema index aa840e6fa..63cb3c34a 100644 --- a/.jsonlintschema +++ b/.jsonlintschema @@ -23,7 +23,7 @@ "source": { "description": "The website from which the icon originated", "type": "string", - "pattern": "^https?://", + "pattern": "^https?://[^\\s]+$", "required": true } },