[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    [Bug 51180] changes underscores in spaces in quoted-printable attachments
From:       Wolfgang Westphal <wolfgang.westphal () gmx ! de>
Date:       2002-11-27 8:26:08
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=51180     




------- Additional Comments From wolfgang.westphal@gmx.de  2002-11-27 09:26 -------
Subject: Re:  changes underscores in spaces in quoted-printable attachments

Am Wednesday 27 November 2002 00:49 schrieb Marc Mutz:
> What's the bug exctly? That KMail produces ' ' -> '_' in QP attachments?
> Or that it doesn't decode them?

Underscores in QP message parts are decoded as spaces, so KMail produces 
'_' -> ' '.

> The mQEncding flag is set by the ctor and then never written again. I
> don't see how that could affect anything.

The problem is that it is set true, although false is passed to the 
constructor.

> A nice workaround is maybe to leave the const, but move the bool
> mQEncoding to before the bool : 1's and removing it's :1. maybe that's
> what causes gcc to miscompile?

Leaving it const and moving it up at first place works for me, no need to 
remove it's :1. Patch attached.

Regards,
Wolfgang
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE95IJgGoxYmT/KkJkRAj3gAKCILm+F9ulpaPgjQPHx3pMiazjytQCdFYNa
978JDpAOr8G3zSIZgWAAeHE=
=mSY3
-----END PGP SIGNATURE-----


Created an attachment (id=536)
 --> (http://bugs.kde.org/attachment.cgi?id=536&action=view)
kmime_codec_qp_v2.diff
_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic