From cc003357525239a1e6aeaa22c85e53f8f97d9952 Mon Sep 17 00:00:00 2001 From: Brandon Kelly Date: Tue, 16 Jan 2018 15:21:32 -0800 Subject: [PATCH] Update Craft CMS detection (#2023) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Craft’s `X-Powered-By` header could start including other details besides the product name, so all we should care about is that “Craft CMS” is in there somewhere. --- src/apps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps.json b/src/apps.json index 07c2025ae..b209638b5 100644 --- a/src/apps.json +++ b/src/apps.json @@ -1984,7 +1984,7 @@ ], "headers": { "Set-Cookie": "^CraftSessionId=", - "X-Powered-By": "^Craft CMS$" + "X-Powered-By": "\\bCraft CMS\\b" }, "icon": "Craft CMS.svg", "implies": "Yii",