[Bug 245190] New: Kmail filter 'Rewrite Header' it dds the replace text to each character of the subject !

mmodem00 at gmail.com
Tue Jul 20 00:38:11 BST 2010


https://bugs.kde.org/show_bug.cgi?id=245190

           Summary: Kmail filter 'Rewrite Header' it dds the replace text
                    to each character of the subject !
           Product: kmail
           Version: 0.1
          Platform: Mandriva RPMs
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: filtering
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: mmodem00 at gmail.com


Version:           0.1 (using Devel) 
OS:                Linux

To the filter "CLassify as Spam" i have added other entry "Rewrite Header" in
wich i select "Subject" and add the text [SPAM] in the 'with:' field.

So what i was expecting was that kmail would add the text [SPAM] to the
beggining of the subject of the messages marked as spam, but it DOESNT DO IT.

Instead adds the text [SPAM] to all the characters that exist in the subject,
here is an example:

the original subject was:
Newsletter July 2010

was repalced with:
[SPAM]N[SPAM]e[SPAM]w[SPAM]s[SPAM]l[SPAM]e[SPAM]t[SPAM]t[SPAM]e[SPAM]r[SPAM]
[SPAM]J[SPAM]u[SPAM]l[SPAM]y[SPAM] [SPAM]2[SPAM]0[SPAM]1[SPAM]0[SPAM]

Reproducible: Always

Steps to Reproduce:
Just add the entry "Rewrite Header" to the filter "Classify as Spam", choose
Subject and add [SPAM] in the "with:" field.


Expected Results:  
Is should just add the text [SPAM] to the beggining of the subject of the
messages that were marked as spam and not add that text to all characters
(including spaces) of the subject.

OS: Linux (x86_64) release 2.6.33.5-desktop-2mnb
Compiler: gcc

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list