Scanning the content of a file allows web browsers to detect the format of a file regardless of the specified Content-Type by the web server. For example, if Firefox requests script from a web server and that web server sends &
Continue reading https://blog.mozilla.org/security/2016/08/26/mitigating-mime-confusion-attacks-in-firefox/