[KPhotoAlbum] Checking image file readability by MIME type, rather than file name
Martin Hoeller
martin at xss.co.at
Fri May 11 12:42:44 BST 2007
On Friday, 11. Mai 2007 13:37 Robert L Krawitz wrote wrote:
> From: Martin Hoeller <martin at xss.co.at>
> Date: Fri, 11 May 2007 13:30:36 +0200
>
> --nextPart2484129.7hr01GMVho
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
>
> I see. I thought of them as beeing excluded via the ignore-list in the
> xml= file.
>
> That's not how they're currently excluded. mightLoadFile() takes a
> look at the file names, says "aha! this isn't a file I care about"
> and just flat out ignores it.
ok.
> However, if this "specific exclude list" remains, it will/should
> always=20 exclude the files and never look into them, right?
>
> The way the patch was written, it first looks at the file (based on
> mime type) and only then looks at the extension.
This order should be reverted then.
- martin
--
Martin Höller | martin.hoeller at xss.co.at
*x Software + Systeme | http://www.xss.co.at/
Karmarschgasse 51/2/20 | Tel: +43-1-6060114-30
A-1100 Vienna, Austria | Fax: +43-1-6060114-71
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kphotoalbum/attachments/20070511/5c718b97/attachment.sig>
More information about the Kphotoalbum
mailing list