When looking for an input handler, libtwine will look for a semicolon in a supplied MIME type and ignore any supplied parameters (e.g., ; charset=utf-8), but does not apply this logic in other places. There should be a single utility function which obtains the relevant length of a supplied MIME type for comparison purposes which is used throughout.
When looking for an input handler,
libtwine
will look for a semicolon in a supplied MIME type and ignore any supplied parameters (e.g.,; charset=utf-8
), but does not apply this logic in other places. There should be a single utility function which obtains the relevant length of a supplied MIME type for comparison purposes which is used throughout.