Findus23 / matomo-DiagnosticsExtended

2 stars 3 forks source link

matomo.js should be delivered with an 'application/javascript' Content-Type. You are using 'text/javascript'. #14

Open nickdring opened 9 months ago

nickdring commented 9 months ago

After upgrading to 5.0.2 we can see the System check this message under matomo.js Matomo seems to be working fine, and I can't see where I should go to change this anyway. Is this a false negative?

Thanks

Tragen commented 5 months ago

I have the same message and this is wrong. Per RFC .js should be served as text/javascript. application/javascript is obsolute. See https://www.rfc-editor.org/rfc/rfc9239#name-iana-considerations