pkp / ots

PKP XML Parsing Service
GNU General Public License v3.0
32 stars 19 forks source link

Disallow certain filetypes from being uploaded #41

Closed axfelix closed 8 years ago

axfelix commented 8 years ago

Probably sufficient to test on file extension and/or MIME? Or doesn't PHP's magic file handle this sort of thing? We should only be allowing LibreOffice Writer/compatible input formats (which we can probably just limit to doc/docx/rtf/odt for simplicity's sake), plus PDF.