Optimize a bit oscommerce detection (#2550)

- Split the regexp in 3 parts
- Improve a regex, accordingly to the [source code](1705380ead/osCommerce/OM/Core/Site/Shop/Languages/en_US.xml (L205)) of oscommerce
- Fix some mistakes
main
jvoisin 6 years ago committed by Elbert Alias
parent 0f4dcdb1a7
commit 22bda9f65f

@ -12251,7 +12251,11 @@
"cookies": { "cookies": {
"osCsid": "" "osCsid": ""
}, },
"html": "(?:<a[^>]*(?:\\?|&)osCsid|Powered by (?:<[^>]+>)?osCommerce</a>|<[^>]+class=\"[^>]*infoBoxHeading)", "html": [
"<br />Powered by <a href=\"https?://www\\.oscommerce\\.com",
"<(?:input|a)[^>]+name=\"osCsid\"",
"<(?:tr|td|table)class=\"[^\"]*infoBoxHeading"
],
"icon": "osCommerce.png", "icon": "osCommerce.png",
"implies": [ "implies": [
"PHP", "PHP",

Loading…
Cancel
Save