From 8758312ccf4fb6474814b5ba2be65fc5398bb941 Mon Sep 17 00:00:00 2001 From: Pier Paolo Ramon Date: Tue, 20 Mar 2012 14:53:50 +0100 Subject: [PATCH] More loose matching for Liferay Portal headers --- share/js/apps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/js/apps.js b/share/js/apps.js index bd2b2f051..5da460fef 100644 --- a/share/js/apps.js +++ b/share/js/apps.js @@ -168,7 +168,7 @@ 'Koobi': { cats: { 1: 1 }, meta: { 'generator': /Koobi/i } }, 'lighttpd': { cats: { 1: 22 }, headers: { 'Server': /lighttpd/i } }, 'LiveJournal': { cats: { 1: 11 }, url: /^(www.)?.+\.livejournal\.com/i }, - 'Liferay': { cats: { 1: 1 }, env: /^Liferay$/, headers: { 'Liferay-Portal': /Liferay/i } }, + 'Liferay': { cats: { 1: 1 }, env: /^Liferay$/, headers: { 'Liferay-Portal': /.*/i } }, 'Lotus Domino': { cats: { 1: 22 }, headers: { 'Server': /Lotus\-Domino/i } }, 'Magento': { cats: { 1: 6 }, script: /\/(js\/mage|skin\/frontend\/(default|enterprise))\//, env: /^(Mage|VarienForm)$/ }, 'Mambo': { cats: { 1: 1 }, meta: { 'generator': /Mambo/i } },