Summary: | Rewrite header adds the new header too many times | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | András Manţia <amantia> |
Component: | filtering | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 1.9.50 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
András Manţia
2008-04-06 21:20:14 UTC
That is not a bug. The "Rewrite Header" filter rule will replace each occurence of the given text with something else. In your case, you used ".", which is the regular expression for "any character". So each character will be replaces with "text/plain;charset="iso-8859-2"", leading to many of those strings. Use a better regular expression, preferable something that matches the incorrect charset only. KMail also has a fallback character encoding for the reader window, see the config options (though that only works in the lastest SVN version). |