Bug 204485

Summary: base64-encoded parts are unfilterable
Product: [Applications] kmail Reporter: Szczepan Hołyszewski <rulatir>
Component: filteringAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: bjoern, kollix, pancho.s, winter
Priority: NOR    
Version: 1.12.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Szczepan Hołyszewski 2009-08-20 09:34:46 UTC
Version:           1.12.0 (using KDE 4.3.0)
OS:                Linux
Installed from:    Unlisted Binary Package

Base64-encoded message parts are apparently passed to filters undecoded. This means that filters using "Message body... contains..." or "Whole message... contains..." criteria fail on such messages.

Solution: decode parts before passing them to filters.
Comment 1 Björn Ruberg 2010-03-04 23:54:42 UTC
Interesting. Can the developers confirm this?
Comment 2 Thomas McGuire 2010-03-05 08:34:38 UTC
> Interesting. Can the developers confirm this?

Yes, this is very probably true, I think we just pass the encoded mail to the filters and don't decode anything.
Comment 3 Björn Ruberg 2010-03-05 09:54:18 UTC
This might explain why searching for umlauts fail as well
Comment 4 Bernd Oliver Sünderhauf 2011-12-27 06:21:18 UTC
There's many bugs left, but at least this one seems to be fixed in kmail2 (4.8)
Comment 5 Allen Winter 2012-02-13 18:39:58 UTC
Comment #4 says this one is fixed in 4.8, so I will resolve it.

please reopen as needed.