Update Craft CMS detection (#2023)

Craft’s `X-Powered-By` header could start including other details besides the product name, so all we should care about is that “Craft CMS” is in there somewhere.
main
Brandon Kelly 7 years ago committed by Elbert Alias
parent fa91ebd4c1
commit cc00335752

@ -1984,7 +1984,7 @@
], ],
"headers": { "headers": {
"Set-Cookie": "^CraftSessionId=", "Set-Cookie": "^CraftSessionId=",
"X-Powered-By": "^Craft CMS$" "X-Powered-By": "\\bCraft CMS\\b"
}, },
"icon": "Craft CMS.svg", "icon": "Craft CMS.svg",
"implies": "Yii", "implies": "Yii",

Loading…
Cancel
Save