[Bug 160488] New: Rewrite header adds the new header too many times

András Manţia amantia at kde.org
Sun Apr 6 20:20:16 BST 2008


------- 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=160488         
           Summary: Rewrite header adds the new header too many times
           Product: kmail
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs kde org
        ReportedBy: amantia kde org


Version:            (using Devel)
Installed from:    Compiled sources

For some mails I need to rewrite the header Content-Type, otherwise KMail uses the wrong encoding for it.
So I set up a filter:
Rewrite header: Content-Type
Replace: . (tried with empty field as well)
With: text/plain;charset="iso-8859-2"

The original mail was:
Content-Type: text/plain;
  charset=ISO-8859-1

After I applied the filter manually:
Content-Type: text/plain;
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2";
  charset="iso-8859-2"

If I apply the filter again on the same message I get much-much-more (several pages) of
  charset="iso-8859-2";



More information about the Kdepim-bugs mailing list