Review Request: double check the mimetype of images

C. Boemann cbr at boemann.dk
Sun Apr 15 13:40:27 BST 2012


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/104520/#review12466
-----------------------------------------------------------

Ship it!


Ship It!

- C. Boemann


On April 9, 2012, 11:20 a.m., Boudewijn Rempt wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/104520/
> -----------------------------------------------------------
> 
> (Updated April 9, 2012, 11:20 a.m.)
> 
> 
> Review request for Calligra.
> 
> 
> Description
> -------
> 
> Users apparently save png images with a .jpg extension or the other way around. Since kmimetype only ever really looks at the extension if it has one, that is not detected. This patch adds a check on content, and makes the content leading for the image mimetypes Krita supports.
> 
> 
> This addresses bug 297656.
>     http://bugs.kde.org/show_bug.cgi?id=297656
> 
> 
> Diffs
> -----
> 
>   libs/main/KoDocument.h 7cc8cd5 
>   libs/main/KoDocument.cpp 775c2c6 
> 
> Diff: http://git.reviewboard.kde.org/r/104520/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Boudewijn Rempt
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20120415/38e52826/attachment.htm>


More information about the calligra-devel mailing list