[Kbabel] bugfix for KBabel

Jens Herden jens at kdewebdev.org
Thu Sep 1 03:25:50 CEST 2005


> Unlinking the KTempfile is not much secure.

What does this mean? Why is it not secure or why is it less secure than the 
old version?


> I think the real solution would be to use something else than
> KMimeType::findByURL

How? The file is not written to the disk yet, so we can not analyse the 
content. 
Can we use KMimeType::findByURL on the url that is in the private data? Then I 
would not need to pass the url as parameter at all and the filename of the 
temp file would not be important. 

Jens
-------------- 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/kbabel/attachments/20050901/26ccd850/attachment.pgp


More information about the kbabel mailing list