Gnus development mailing list
 help / color / mirror / Atom feed
From: vvv@vsu.ru
Subject: bug in encoded-word encoding
Date: 18 Feb 2001 14:39:45 +0300	[thread overview]
Message-ID: <eyg0hckyny.fsf@video.uic.vsu.ru> (raw)

Hi,

i composed a mail in gnus (current cvs version), with the following
To: header:

To: Дмитрий И. Гусев <some@where>

gnus encoded it like this:

To: =?koi8-r?b?5M3J1NLJyiDp?=. =?koi8-r?b?59XTxdc=?= <some@where>

which is a bug according to RFC2047:

 RFC2047> IMPORTANT: 'encoded-word's are designed to be recognized as 'atom's
 RFC2047> by an RFC 822 parser.  As a consequence, unencoded white space
 RFC2047> characters (such as SPACE and HTAB) are FORBIDDEN within an
 RFC2047> 'encoded-word'.  For example, the character sequence
 RFC2047>     =?iso-8859-1?q?this is some text?=
 RFC2047> would be parsed as four 'atom's, rather than as a single 'atom' (by
 RFC2047> an RFC 822 parser) or 'encoded-word' (by a parser which understands
 RFC2047> 'encoded-words').  The correct way to encode the string "this is some
 RFC2047> text" is to encode the SPACE characters as well, e.g.
 RFC2047>     =?iso-8859-1?q?this=20is=20some=20text?=
 RFC2047> The characters which may appear in 'encoded-text' are further
 RFC2047> restricted by the rules in section 5.

gnus should have included the dot into the encoded-word, instead of
putting int immediately after it.

i think that such a bug was once fixed, but somehow it is again
present. :-(( i wonder, why....

(it is not a good sign that fixed bugs are appearing again and again)

Best,
v.




             reply	other threads:[~2001-02-18 11:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-18 11:39 vvv [this message]
2001-02-18 11:43 vvv
2001-02-18 11:46 vvv
2001-02-18 13:55 ` ShengHuo ZHU
2001-02-20 16:07   ` vvv

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=eyg0hckyny.fsf@video.uic.vsu.ru \
    --to=vvv@vsu.ru \
    /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).