Article View: news.software.readers
Article #23829Re: Another mangled QP header
From: Jan D.
Date: Sun, 07 Jul 1996 00:00
Date: Sun, 07 Jul 1996 00:00
61 lines
2658 bytes
2658 bytes
In article <slrn4tskta.qn.schmadde@schmadde.isdn.fu-berlin.de>,
Martin Schmachtel <schmacht@inf.fu-berlin.de> wrote:
> In <4rcdes$750@epimetheus.algonet.se>, Erland Sommarskog <sommar@algonet.se> wrote:
>
> > Subject: Kaffet=?iso-8859-1?Q?=E5r? Kaffeg=F6k? Kafferep? Fika??=k? Kafferep?
>
> I don't know what this should be, but it's definitely not a valid encoding
> according to rfc 1522. the encoded word has to be delimited by whitespace
> and inside an encoded word whitespace is not allowed.
>
It must be delimited by whitespace, that is correct and that is the error
of this example. A correct encoding would be:
Subject: =?iso-8859-1?Q?Kaffet=E5r? Kaffeg=F6k? Kafferep? Fika?k? Kafferep??=
But an encoded word may contain whitespace, like in this case.
RFC 1522:
encoded-text = 1*<Any printable ASCII character other
than "?" or SPACE>
; (but see "Use of encoded-words in message
; headers", section 5)
RFC 1522, Section 5:
(1) An encoded-word may replace a "text" token (as defined by RFC
822) in any Subject or Comments header field, any extension
message header field, or any RFC 1521 body part field for which
the field body is defined as "*text". An encoded-word may also
appear in any user-defined ("X-") message or body part header
field.
RFC 822:
text = <any CHAR, including bare ; => atoms, specials,
CR & bare LF, but NOT ; comments and
including CRLF> ; quoted-strings are
CHAR = <any ASCII character> ; ( 0-177, 0.-127.)
QED :-)
> The Problem seems so be here:
>
> > X-Mailer: Mozilla 3.0b4 (Macintosh; I; 68K)
>
> Jamie Zawinsky claimed he had reworked his MIME code in 3.0b5 -
> I hope he got it right this time
>
No, still wrong in b5. But they are aware of the problems, so maybe
in b6 :-)
Jan D.
Technical Details
Message-ID:
<4ro9ed$pbe@mn5.swip.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<31D8ED68.5006@jmk.su.se> <4rcdes$750@epimetheus.algonet.se> <slrn4tskta.qn.schmadde@schmadde.isdn.fu-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <4ro9ed$pbe@mn5.swip.net> Subject: Re: Another mangled QP header Date: Sun, 07 Jul 1996 00:00:00 +0000 From: Jan D. <Jan.Djarv@mbox200.swipnet.se> References: <31D8ED68.5006@jmk.su.se> <4rcdes$750@epimetheus.algonet.se> <slrn4tskta.qn.schmadde@schmadde.isdn.fu-berlin.de> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail X-Deja-AN: 167125786 Nntp-posting-user: fd1e9959dd099350032070de423b34ad Newsgroups: news.software.readers