pressbooks/pressbooks — pull request #20 by bdolor (2013-06-28 18:50:36+00:00)
Title: import checks for proper image extension

isolated the image file type/mime type validation to the import module, using try/catch blocks in both WXR import and EPUB import.