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

List:       kmail-devel
Subject:    kdepim/kmail
From:       Marc Mutz <Marc.Mutz () uni-bielefeld ! de>
Date:       2003-10-30 21:31:22
[Download RAW message or body]

CVS commit by mutz: 

Properly escape ^From_ in mbox.

CCMAIL: 66373-done@bugs.kde.org, kmail@kde.org

The old code did s/\n>From/\nFrom/g (and vice versa). Correct would be
    s/(\n|^)(>*)>From /\1\2From /g.
This is what this change implements, excpet that it ignores From or >From
that start the string (just as the old code did). That's probably necessary
for now, since messages from mbox folders still contain the From spearator
line in msg->asString()...

Problem now is old mbox'es: KMail buggyly left ^>From_ alone in escaping
(leading to #66373) and ignored ^>>From_ in unescaping. The latter isn't
much of a problem, but the fact that ^FromFrom was also escaped, is. We
won't unescape that one anymore. But that's life, I guess.


  M +68 -24    kmfoldermbox.cpp   1.86
  M +0 -6      kmfoldermbox.h   1.21



_______________________________________________
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