Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: markus.rietzler [...] gmx.net
Cc:
AdminCc:

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



Subject: Error in MIME::Lite::HTML - File ending jpeg not handled as image/jpg
Date: Sun, 24 Jun 2018 12:25:39 +0200
To: bug-MIME-Lite-HTML [...] rt.cpan.org
From: Markus Rietzler <markus.rietzler [...] gmx.net>
in sub create_image_part there is an error. at the start you set the mime-type of the attachment. you check against .gif, .png and .jpg. all other file endings are treated as shockwave, if not set in the calling script. you should also check for .jpeg. it only requires this simple change, add the regex-check jpe?g line 627: elsif (lc($ur)=~/\.jpe?g$/i) {$type = "image/jpg";} Markus