rjbs / Email-MIME

perl library for parsing MIME messages
20 stars 30 forks source link

Use function parse_content_disposition from Email::MIME::ContentType #45

Closed pali closed 7 years ago

pali commented 7 years ago

Currently Email::MIME uses private function _parse_attributes from the Email::MIME::ContentType module for parsing Content-Disposition header which is bad thing. New version of Email::MIME::ContentType module has parse_content_disposition function for this purpose.

Stop using private functions of other modules!


Depends on releasing new version of Email::MIME::ContentType with this patch: https://github.com/rjbs/Email-MIME-ContentType/pull/8

rjbs commented 7 years ago

Thanks, applied.