diff options
author | Fabrice Desré <fabrice@desre.org> | 2017-03-20 14:05:40 -0700 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2017-05-15 14:43:45 +0200 |
commit | 990b85049ec4f38fda57b0d6eb23def14ebe1e13 (patch) | |
tree | 5c4dcac986f06fd74298a0ca62fb86d50d7f7253 /components/layout/webrender_helpers.rs | |
parent | 34d0e59849a0a3e231e47fe10d66484340b8b80c (diff) | |
download | servo-990b85049ec4f38fda57b0d6eb23def14ebe1e13.tar.gz servo-990b85049ec4f38fda57b0d6eb23def14ebe1e13.zip |
Ignore mime type parameters in nosniff
This patch implements the following changes:
- Only check for the toplevel/sublevel part of the mime type when
deciding if it's a js or css resource, ignoring the mime parameters.
- Fix the wpt tests that did not escape url parameters properly and
also used an invalid syntax for the mime parameter.
- Update the wpt manifest.
Diffstat (limited to 'components/layout/webrender_helpers.rs')
0 files changed, 0 insertions, 0 deletions