From 184522c72889617ab0d837ceb2abd0f234ea1b82 Mon Sep 17 00:00:00 2001 From: SebastianLopienski Date: Thu, 17 Jan 2013 18:41:11 +0100 Subject: [PATCH] Apache:corrected; lighttpd:added version detection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For "Apache", added "(^|[^g])" before "HTTPD", so that lighttpd is not detected as ApacheĀ  --- share/apps.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/apps.json b/share/apps.json index 60b0f11e8..906598965 100644 --- a/share/apps.json +++ b/share/apps.json @@ -117,7 +117,7 @@ }, "Apache": { "cats": [ 22 ], - "headers": { "Server": "(Apache($|/([\\d\\.]+)|[^/-])|HTTPD)\\;version:\\3" } + "headers": { "Server": "(Apache($|/([\\d\\.]+)|[^/-])|(^|[^g])HTTPD)\\;version:\\3" } }, "Apache JSPWiki": { "cats": [ 8 ], @@ -961,7 +961,7 @@ }, "lighttpd": { "cats": [ 22 ], - "headers": { "Server": "lighttpd" } + "headers": { "Server": "lighttpd(/([\\d\\.]+))?\\;version:\\2" } }, "LimeSurvey": { "cats": [ 19 ],