Simplifying the regexp for TYPO3 CMS detection.

Add exclude rules.

Related: 773a454
main
Laurent Cherpit 11 years ago
parent 95f20e9715
commit b7c3c2bc27

@ -2875,11 +2875,9 @@
"url": "typepad\\.com" "url": "typepad\\.com"
}, },
"TYPO3 CMS": { "TYPO3 CMS": {
"website": "typo3.org", "website": "www.typo3.org",
"cats": [ 1 ], "cats": [ 1 ],
"headers": { "Set-Cookie": "fe_typo_user" }, "meta": { "generator": "TYPO3\\s+(?:CMS\\s+)?([\\d.]+)?(?:\\s+CMS)?\\;version:\\1" },
"meta": { "generator": "TYPO3\\s?([\\d.]+)?\\;version:\\1" },
"html": "(?:<(?:script[^>]* src|link[^>]* href)=[^>]*fileadmin|<!--TYPO3SEARCH)",
"url": "/typo3/", "url": "/typo3/",
"implies": "PHP" "implies": "PHP"
}, },
@ -2894,7 +2892,8 @@
"cats": [ 1 ], "cats": [ 1 ],
"html": "xmlns:typo3=\\\"http:\\/\\/www\\.typo3\\.org\\/ns\\/[0-9]{4}\\/Flow\\/Packages\\/Neos\\/Content\\/", "html": "xmlns:typo3=\\\"http:\\/\\/www\\.typo3\\.org\\/ns\\/[0-9]{4}\\/Flow\\/Packages\\/Neos\\/Content\\/",
"url": "/neos/", "url": "/neos/",
"implies": [ "PHP", "TYPO3 Flow" ] "implies": [ "PHP", "TYPO3 Flow" ],
"excludes": "TYPO3 CMS"
}, },
"Ubercart": { "Ubercart": {
"website": "www.ubercart.org", "website": "www.ubercart.org",