KMimeType::isBufferBinaryData() is broken
Boyd Stephen Smith Jr.
bss03 at volumehost.net
Sat May 5 15:12:24 BST 2007
On Saturday 05 May 2007, Andreas Pakulat <apaku at gmx.de> wrote
about 'KMimeType::isBufferBinaryData() is broken':
> just found out that isBufferBinaryData fails to recognize plain/text
> when there's a linefeed in the first 32 bytes. IMHO the check should
> check for bytes in the range 00-0A [sic], 0B-0C and 0E-1F, i.e. leave out
> linefeed and carriage return. Those two ascii control characters are
> valid in plain/text.
I would think that horizontal tab (09) was also allowed, if not a few
others.
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss03 at volumehost.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.org/ \_/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070505/160fcaa7/attachment.sig>
More information about the kde-core-devel
mailing list