chromesniffer
chromesniffer copied to clipboard
wrong server-side language
I have a php site that's hosted on a IIS server. Chromesniffer detects both php and asp.net, even if I don't have/use asp.net on that site.
This might be an issue of my server. I have 2 headers that state the language:
X-Powered-By:PHP/5.2.6
X-Powered-By:ASP.NET
It is known that IIS sometimes adds that header even if you don't need it, but I was wondering if you could add a priority flag system to this sniffing too. After all, I don't think that a page can be rendered at the same time with both php and asp.net.
The ASP.NET header could be disregarded if for example the URL contains .php maybe?
I found an example of this here: http://www.gradgems.com/login_emp.php
However, there seems to be a bigger problem that the extension doesn't seem to even finishing running despite having detected a things including IIS and the 2 X-Powered-By headers.