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

List:       kmail-devel
Subject:    [Bug 48560] quotation marks not treated correctly in sender name
From:       Marc Mutz <mutz () kde ! org>
Date:       2002-10-02 17:22:40
[Download RAW message or body]

------- 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=48560     




------- Additional Comments From mutz@kde.org  2002-10-02 19:22 -------
Subject: Re:  quotation marks not treated correctly in sender name

On Wednesday 02 October 2002 12:04, Ingo Klöcker wrote:
<snip>
> ------- The double quotes you entered have to be quoted by prepending
> a backslash. (Well, actually this isn't really necessary.
<snip>

Hmmm.... ;-)

$ echo -n "Marc \"justme\" Mutz <mutz@kde.org>" | \
 ./test_kmime_header_parsing -t mailbox
OK
result.displayName:
Marc justme Mutz
result.addrSpec.localPart:
mutz
result.addrSpec.domain:
kde.org

$ echo -n '"Marc "justme" Mutz" <mutz@kde.org>' | \
 ./test_kmime_header_parsing -t mailbox
OK
result.displayName:
Marc  justme  Mutz
result.addrSpec.localPart:
mutz
result.addrSpec.domain:
kde.org

The second result looked weird to me, too (double spaces). But it's 
correct :-)

Marc
_______________________________________________
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