From 81833fde1a29af58868c229fae12b1b8e1c07a77 Mon Sep 17 00:00:00 2001 From: Eugene Yurkevich Date: Wed, 12 Mar 2014 15:13:02 +0300 Subject: [PATCH 1/3] add version detect in Ophal technology X-Powered-By header --- share/apps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/apps.json b/share/apps.json index 07a739e21..97cdd7570 100644 --- a/share/apps.json +++ b/share/apps.json @@ -1971,7 +1971,7 @@ "Ophal": { "website": "ophal.org", "cats": [ 1, 11, 18 ], - "headers": { "X-Powered-By": "^Ophal/" } + "headers": { "X-Powered-By": "^Ophal/([\\d.]+(?:-alpha\\d+)?)\\;version:\\1" } }, "Optimizely": { "website": "optimizely.com", From fa1bf75c5148341265d9e6fea54974456572ddfc Mon Sep 17 00:00:00 2001 From: Eugene Yurkevich Date: Thu, 13 Mar 2014 13:50:41 +0300 Subject: [PATCH 2/3] add Lua programming language, add Lua into Ophal implies --- share/apps.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/share/apps.json b/share/apps.json index 97cdd7570..1d64f55ca 100644 --- a/share/apps.json +++ b/share/apps.json @@ -1591,6 +1591,11 @@ "cats": [ 22 ], "headers": { "Server": "Lotus-Domino" } }, + "Lua": { + "website": "www.lua.org", + "cats": [ 27 ], + "headers": { "X-Powered-By": "\\bLua( ([\\d.]+))?\\;version:\\2" } + }, "Magento": { "website": "www.magentocommerce.com", "cats": [ 6 ], @@ -1971,7 +1976,8 @@ "Ophal": { "website": "ophal.org", "cats": [ 1, 11, 18 ], - "headers": { "X-Powered-By": "^Ophal/([\\d.]+(?:-alpha\\d+)?)\\;version:\\1" } + "headers": { "X-Powered-By": "^Ophal/([\\d.]+(?:-alpha\\d+)?)\\;version:\\1" }, + "implies": "Lua" }, "Optimizely": { "website": "optimizely.com", From 557506cf9780767be33794637adf3ae9b2f08d9e Mon Sep 17 00:00:00 2001 From: Eugene Yurkevich Date: Thu, 13 Mar 2014 23:32:26 +0300 Subject: [PATCH 3/3] improve Lua, Ophal --- share/apps.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/apps.json b/share/apps.json index 1d64f55ca..d7f7c8b53 100644 --- a/share/apps.json +++ b/share/apps.json @@ -1594,7 +1594,7 @@ "Lua": { "website": "www.lua.org", "cats": [ 27 ], - "headers": { "X-Powered-By": "\\bLua( ([\\d.]+))?\\;version:\\2" } + "headers": { "X-Powered-By": "\\bLua(?: ([\\d.]+))?\\;version:\\1" } }, "Magento": { "website": "www.magentocommerce.com", @@ -1976,7 +1976,7 @@ "Ophal": { "website": "ophal.org", "cats": [ 1, 11, 18 ], - "headers": { "X-Powered-By": "^Ophal/([\\d.]+(?:-alpha\\d+)?)\\;version:\\1" }, + "headers": { "X-Powered-By": "^Ophal(?:/([\\d.]+(?:-alpha\\d+)))?\\;version:\\1" }, "implies": "Lua" }, "Optimizely": {