mirror of
https://github.com/RGBCube/serenity
synced 2025-10-27 07:42:07 +00:00
Previously we would simply check the an input string against a list of mime type essences, ignoring that the input might not be a valid mime type or contain parameters. This patch moves the helpers into the MimeSniff namespace and properly parses an input string before comparing the essence. |
||
|---|---|---|
| .. | ||
| MimeType.cpp | ||
| MimeType.h | ||