simplesamlphp / SAML-tracer

Browser extension for examining SAML messages
https://addons.mozilla.org/nl/firefox/addon/saml-tracer/
BSD 2-Clause "Simplified" License
141 stars 39 forks source link

Update resource mime-types #91

Closed tvdijen closed 10 months ago

tvdijen commented 10 months ago

See https://stackoverflow.com/a/5142316/5494155

thijskh commented 10 months ago

Not so sure about removing legacy types since the webserver decides this and we want to have SAML tracer work on e.g. services running RHEL-like OS'es.

thijskh commented 10 months ago

This is superseded by #92, if accepted.

tvdijen commented 10 months ago

Not so sure about removing legacy types since the webserver decides this and we want to have SAML tracer work on e.g. services running RHEL-like OS'es.

I figured that Feb 2017 (the introduction of the font/ RFC) was long enough in the past.. I've tested on an Apache 2.2 server on RHEL 7 and that one doesn't send a content-type header at all for woff2-files.

thijskh commented 10 months ago

My CentOS 7 install lists application/font-woff in /etc/mime.types for extension woff, but indeed nothing for woff2 so that will by default go without a type.

tvdijen commented 10 months ago

I'm OK with keeping them, but let's add a comment in the code to this PR for future reference.

thijskh commented 10 months ago

Did that.