Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
MIME header encoding is broken in VM 8.0.11
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Ulrich Mueller  
View profile  
 More options Sep 15 2008, 10:16 am
Newsgroups: gnu.emacs.vm.bug
From: u...@gentoo.org (Ulrich Mueller)
Date: Mon, 15 Sep 2008 16:16:17 +0200
Local: Mon, Sep 15 2008 10:16 am
Subject: [Regression] MIME header encoding is broken in VM 8.0.11
Hi,

it seems that somewhere between VM 8.0.9 and 8.0.11, MIME (RFC 1522)
encoding of headers broke:

VM 8.0.9 would encode the word "Rückstoßdämpfung" in the Subject line as
follows:

   =?iso-8859-1?Q?R=FCcksto=DFd=E4mpfung?=

which is still somewhat readable to the unaided eye. In VM 8.0.11 this
now becomes the following:

   R=?iso-8859-1?B?/A==?=cksto=?iso-8859-1?B?3w==?=d=?iso-8859-1?B?5A==?=mpfun g

Setting vm-mime-encode-headers-type to Q doesn't help much:

   R=?iso-8859-1?Q?=FC?=cksto=?iso-8859-1?Q?=DF?=d=?iso-8859-1?Q?=E4?=mpfung

If I interpret RFC 1522 correctly, the method of VM 8.0.11 is plain
wrong here, since an encoded-word must be surrounded by white space and
is not allowed to start in the middle of a word (RFC 1522 section 5):

| Ordinary ASCII text and encoded-words may appear together in the same
| header field. However, an encoded-word that appears in a header field
| defined as "*text" MUST be separated from any adjacent encoded-word or
| "text" by linear-white-space.

And of course the MIME decoder shouldn't look for "=?" in the middle of
a word, but display the above as plain ASCII text (RFC 1522 section 6.1).

Ulrich

P.S. I also wonder why the default encoding was changed from
quoted-printable to binary? This doesn't make much sense, IMHO.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ralf Fassel  
View profile  
 More options Jan 20, 10:46 am
Newsgroups: gnu.emacs.vm.bug
From: Ralf Fassel <ralf...@gmx.de>
Date: Tue, 20 Jan 2009 16:46:11 +0100
Local: Tues, Jan 20 2009 10:46 am
Subject: Re: [Regression] MIME header encoding is broken in VM 8.0.11
* u...@gentoo.org (Ulrich Mueller)
| VM 8.0.9 would encode the word "Rückstoßdämpfung" in the Subject line as
| follows:
|
|    =?iso-8859-1?Q?R=FCcksto=DFd=E4mpfung?=
|
| which is still somewhat readable to the unaided eye. In VM 8.0.11 this
| now becomes the following:
|
|    R=?iso-8859-1?B?/A==?=cksto=?iso-8859-1?B?3w==?=d=?iso-8859-1?B?5A==?=mpfun g
|
| Setting vm-mime-encode-headers-type to Q doesn't help much:
|
|    R=?iso-8859-1?Q?=FC?=cksto=?iso-8859-1?Q?=DF?=d=?iso-8859-1?Q?=E4?=mpfung
|
| If I interpret RFC 1522 correctly, the method of VM 8.0.11 is plain
| wrong here, since an encoded-word must be surrounded by white space and
| is not allowed to start in the middle of a word (RFC 1522 section 5):

Is this supposed to be fixed in 8.0.12?  I recently had an corrupted
INBOX due to some wrong Elisp in the parsed X-VM-data header...

If this should be fixed, I'd try to reproduce that and do an report.

R'


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google