[Koha] How to check a file's MIME type in KOHA

Rejeesh K.Nair rejeeshknair at gmail.com
Mon Jan 30 18:22:03 NZDT 2017


Hi All,

I need to check the MIME type of each uploaded file for security purposes.

Some search results from Google suggest that we can do it with the help of
the File::MimeInfo <https://metacpan.org/pod/File::MimeInfo>Perl module.

How can we install the File::MimeInfo module in KOHA and check the MIME
types, or is there some better way?

-- 
Thanks & Regards,

Rejeesh K.Nair
m: +91 (0) ​9495316906
e: rejeeshknair at gmail.com
<https://www.facebook.com/rejeeshnairk> <https://twitter.com/rejeeshknair>
<http://in.linkedin.com/in/rejeeshknair>
<https://www.instagram.com/rejeeshknair/>


More information about the Koha mailing list