[Koha-bugs] [Bug 22838] Warning from runreport.pl 'Explicitly setting a MIME header field (content-type) is dangerous'
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jan 10 10:51:32 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22838
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Signed Off |Failed QA
--- Comment #6 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
$msg->attr("content-type" => $contenttype);
See first comment. This is not recommended. Normally you use Type in
MIME::Lite.
Furthermore it seems that the same content-type now is applied to both message
and attachment. Obviously, they could be different and should be handled
individually.
This needs some more attention.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list