From b02ca9ab34b90afecd0a24af2d47973864ecabbc Mon Sep 17 00:00:00 2001 From: q-- Date: Fri, 10 Nov 2017 04:32:22 +0100 Subject: [PATCH] Detect newer versions of Sails.js (#1806) Newer Sails.js versions send the header x-powered-by: Sails instead of x-powered-by: Sails --- src/apps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps.json b/src/apps.json index dc8e3e5a5..669ae01a7 100644 --- a/src/apps.json +++ b/src/apps.json @@ -7346,7 +7346,7 @@ ], "headers": { "Set-Cookie": "^sails\\.sid$", - "X-Powered-By": "^Sails$" + "X-Powered-By": "^Sails(?:$|[^a-z0-9])" }, "icon": "Sails.js.svg", "implies": "Express",