From d46c5b661af70329fed16cb9018e3bf1fb1d7be2 Mon Sep 17 00:00:00 2001 From: kolen Date: Sun, 12 Jul 2015 14:56:41 +0300 Subject: [PATCH] Changes for Yesod/Warp - Changed name to Warp, because this detection rule is for Warp, not Yesod (I have no idea how to detect Yesod) - Prevent matching with prefix (added ^) - because of false detections of IceWarp webmail - Added version matching --- src/apps.json | 21 ++++++++++----------- src/icons/{Yesod.png => Warp.png} | Bin 2 files changed, 10 insertions(+), 11 deletions(-) rename src/icons/{Yesod.png => Warp.png} (100%) diff --git a/src/apps.json b/src/apps.json index 0d7eb646c..ae07ed6f9 100755 --- a/src/apps.json +++ b/src/apps.json @@ -6109,6 +6109,16 @@ "implies": "WordPress", "website": "wp-rocket.me" }, + "Warp": { + "cats": [ + 22 + ], + "headers": { + "Server": "^Warp/(\\d+(?:\\.\\d+)+)?$;version:\\1" + }, + "implies": "Haskell", + "website": "www.stackage.org/package/warp" + }, "Web Optimizer": { "cats": [ 10 @@ -6522,17 +6532,6 @@ "script": "mc\\.yandex\\.ru\\/metrika\\/watch\\.js", "website": "metrika.yandex.com" }, - "Yesod": { - "cats": [ - 18, - 22 - ], - "headers": { - "Server": "Warp/\\d+(\\.\\d+)+" - }, - "implies": "Haskell", - "website": "www.yesodweb.com" - }, "Yieldlab": { "cats": [ 36 diff --git a/src/icons/Yesod.png b/src/icons/Warp.png similarity index 100% rename from src/icons/Yesod.png rename to src/icons/Warp.png