Merge branch 'master' of github.com:ElbertF/Wappalyzer

main
Elbert Alias 11 years ago
commit f254393db9

@ -130,7 +130,9 @@ class Wappalyzer
$result->html = mb_check_encoding($result->html, 'UTF-8') ? $result->html : utf8_encode($result->html);
$lines = array_slice(explode("\r\n", trim(substr($response, 0, $headerSize))), 1);
$headers = trim(substr($response, 0, $headerSize));
$headers = end(preg_split('/^\s*$/m', $headers));
$lines = array_slice(explode("\r\n", $headers), 1);
foreach ( $lines as $line ) {
if ( strpos(trim($line), ': ') !== false ) {

@ -2617,7 +2617,7 @@
"headers": { "Server": "Ubuntu", "X-Powered-By": "Ubuntu" }
},
"uCore": {
"website": "ucorecms.org",
"website": "ucore.io",
"cats": [ 1, 18 ],
"headers": { "Set-Cookie": "ucore" },
"meta": { "generator": "uCore PHP Framework" },