Skip Menu |

This queue is for tickets about the MIME-Lite CPAN distribution.

Report information
The Basics
Id: 54025
Status: new
Priority: 0/
Queue: MIME-Lite

People
Owner: Nobody in particular
Requestors: NCLEATON [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: content-type can be treated as a regex
MIME::Lite::suggest_encoding() passes the content-type to MIME::Types::by_mediatype(), which will treat it as a regex if it does not contain a slash. For example, feeding MIME::Lite a content-type of "*" leads to an exception due to a regex compilation failure in MIME::Types.