fix for 83098 breaks binary files uploads [patch]

Matthias Kretz kretz at kde.org
Sat Jul 17 22:56:01 BST 2004


Hi,

I was annoyed by my *.png uploads always breaking when using Konqueror so I 
dived into the code and found the problem. It's the fix to #83098 that 
replaces '\n' with '\r\n' and '\r' with '' even in binary files.

I suggest the attached patch that uses expandLF for all data except file 
uploads.
OK to commit?

PS: I'm not subscribed to kfm-devel, please CC me.

-- 
C'ya
        Matthias
________________________________________________________
Matthias Kretz (Germany)                          <><
http://Vir.homeip.net/
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: khtml-upload.patch
Type: text/x-diff
Size: 1606 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040717/26a90c4a/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20040717/26a90c4a/attachment.sig>


More information about the kfm-devel mailing list