Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breaking: Limit X-Content-Type-Options usage to scripts and stylesheets #772

Closed
wants to merge 1 commit into from

Commits on Jan 23, 2018

  1. Breaking: Limit X-Content-Type-Options usage

    Change `x-content-type-options` rule so that it limits the usage
    of the `X-Content-Type-Options` header to scripts and stylesheets
    as modern browsers actually only respect the header for those
    types of resources¹.
    
    Also, sending the header for resources such as images, creates
    problems² in some older browsers.
    
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    
    ¹ https://fetch.spec.whatwg.org/#x-content-type-options-header
    ² whatwg/fetch#395
    
    Fix #767
    alrra committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    6ae8df8 View commit details
    Browse the repository at this point in the history