Gnus development mailing list
 help / color / mirror / Atom feed
From: Sascha Wilde <wilde@sha-bang.de>
Subject: Gnus does not handle quoting in quoted strings correctly.
Date: Wed, 30 Aug 2006 22:38:28 +0200	[thread overview]
Message-ID: <m2ejuyt0vv.fsf@kenny.sha-bang.de> (raw)

Hi *,

if you have a mail with

From: "foo \[bar\]" <foo@bar.invalid>

in the headers, gnus displays the from literately as

foo \[bar\]

but according to RfC822/2822 "\" is used in quoted strings as special
quoting character and is always (no matter if necessary or not)
semantically "invisible".  So it should read:

foo [bar]


The other way around, when writing display names in quoted strings, no
quoting is done even when it would be needed.  Writing a message with

From: "foo/bar" <foo@bar.invalid>

the From: header is copied verbatim to the outgoing mail, but should
get quoted like:

From: "foo//bar" <foo@bar.invalid>

cheers
sascha
-- 
Sascha Wilde
"Gimme about 10 seconds to think for a minute..."

             reply	other threads:[~2006-08-30 20:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-30 20:38 Sascha Wilde [this message]
2006-09-01 11:09 ` Katsumi Yamaoka
2006-09-01 21:50   ` Richard Stallman
2006-09-01 22:54     ` Katsumi Yamaoka
2006-09-02  0:53       ` Miles Bader
2006-09-02 18:09         ` Richard Stallman
2006-09-02 14:03   ` Sascha Wilde
2006-09-03  0:19     ` Katsumi Yamaoka
2006-09-03 16:44       ` Sascha Wilde
2006-09-04  1:41         ` Katsumi Yamaoka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2ejuyt0vv.fsf@kenny.sha-bang.de \
    --to=wilde@sha-bang.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).