zen
zen copied to clipboard
contenttype modifier doesn't match Content-Type headers with parameters
The Content-Type header values can potentially contain parameters after a semicolon, in addition to the media type. Our $contenttype modifier implementation doesn't take that into account.
References:
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type