KMimeType::isBufferBinaryData() is broken

Boyd Stephen Smith Jr. bss03 at
Sat May 5 15:12:24 BST 2007

On Saturday 05 May 2007, Andreas Pakulat <apaku at> 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 

Boyd Stephen Smith Jr.                     ,= ,-_-. =. 
bss03 at                      ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy           `-'(. .)`-'                      \_/     
-------------- 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: <>

More information about the kde-core-devel mailing list