Re: [Mutt] #1875: Long lines cut off when quoted-printable in
#1875: Long lines cut off when quoted-printable in multipart message
--------------------------------------+-------------------------------------
Reporter: mutt@xxxxxxxxxxxxxxxxxx | Owner: mutt-dev
Type: defect | Status: closed
Priority: trivial | Milestone:
Component: mutt | Version: 1.4.2.1i
Resolution: fixed | Keywords: stable
--------------------------------------+-------------------------------------
Changes (by pdmef):
* status: new => closed
* resolution: => fixed
Old description:
> {{{
> Package: mutt
> Version: 1.4.2.1i
> Severity: normal
>
> -- Please type your report below this line
>
> In certain MIME messages, mutt only displays about the first 255
> characters of
> each line. The message must be multipart/alternative with a transfer
> encoding of quoted-printable to trigger the bug.
>
> As an example, have mutt read the following file:
>
> ***** CUT HERE *****
> From sbnoble@xxxxxxxxxxxx Thu May 13 08:39:12 2004
> From: "Seth Noble" <mutt@xxxxxxxxxxxxxxxxxx>
> To: mutt@xxxxxxxxxxxxxxxxxx
> Subject: Mutt long line display bug
> Date: 13 May 2004 05:58:26 PDT
> MIME-version: 1.0
> Content-type: multipart/alternative; boundary="======1084453096110======"
> Status: RO
>
> --======1084453096110======
> Content-Type: text/plain; charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> This is a whole lot of meaningless stuff that is just meant to pad out a
> line of text such that said line of text reaches a length which is not
> less than two hundred and fifty five characters in length, but perhaps
> more than two hundred and fifty five characters in length so that we can
> trigger a long line display bug in mutt.
>
> --======1084453096110======
>
> ***** CUT HERE *****
>
> Note that changing "quoted-printable" to "7bit" fixes the problem, as
> does
> removing the multipart Content-type line.
>
> This behavior occurs in mutt versions 1.4i, 1.4.1i, and 1.4.2.1i
> on Darwin 5.5, Darwin 7.3, and Linux 2.4.21.21
>
> -- Build environment information
>
> (Note: This is the build environment installed on the system
> muttbug is run on. Information may or may not match the environment
> used to build mutt.)
>
> - gcc version information
> gcc
> Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
> Thread model: posix
> Apple Computer, Inc. GCC version 1161, based on gcc version 3.1 20020420
> (prerelease)
>
> - CFLAGS
> -Wall -pedantic -g -O2
>
> -- Mutt Version Information
>
> Mutt 1.4.2.1i (2004-02-12)
> Copyright (C) 1996-2002 Michael R. Elkins and others.
> Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
> Mutt is free software, and you are welcome to redistribute it
> under certain conditions; type `mutt -vv' for details.
>
> System: Darwin 7.3.0 (Power Macintosh) [using ncurses 5.2]
> Compile options:
> -DOMAIN
> -DEBUG
> -HOMESPOOL -USE_SETGID +USE_DOTLOCK -DL_STANDALONE
> +USE_FCNTL -USE_FLOCK
> -USE_POP -USE_IMAP -USE_GSS -USE_SSL -USE_SASL
> +HAVE_REGCOMP -USE_GNU_REGEX
> +HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
> +HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM
> +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT
> +ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS -HAVE_LANGINFO_CODESET
> -HAVE_LANGINFO_YESEXPR
> +HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID -HAVE_GETADDRINFO
> ISPELL="/usr/local/bin/ispell"
> SENDMAIL="/usr/sbin/sendmail"
> MAILPATH="/var/mail"
> PKGDATADIR="/usr/local/share/mutt"
> SYSCONFDIR="/usr/local/etc"
> EXECSHELL="/bin/sh"
> -MIXMASTER
> To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
> To report a bug, please use the flea(1) utility.
>
> --- Begin /Users/sbnoble/.muttrc
> set weed=no
> set editor="emacs"
> set include=yes
> set move=no
> --- End /Users/sbnoble/.muttrc
>
> --- Begin /usr/local/etc/Muttrc
> bind pager <up> previous-line
> bind pager <down> next-line
> bind pager [ half-up
> bind pager ] half-down
> set editor="pico"
> set fcc_attach=no
> set folder="~/Mail"
> set mbox="=/received"
> set hidden_host=yes
> set mail_check=30
> set mime_forward=ask-no
> set record="=/sent"
> set sort=mailbox-order
> set markers=no
> set simple_search="~B %s"
> set smart_wrap=no
> set index_format="%Z%4C %{%b %d} %-18.18L (%4l) %s"
> set pager_format="-%Z- %C/%m: %-15.15n - %-25.25s %> %[%D %H:%M]"
> ignore "from " received content- mime-version status x-status message-id
> ignore sender references return-path lines
> macro index \eb '/~b ' 'search in message bodies'
> macro index \cb |urlview\n 'call urlview to extract URLs out of a
> message'
> macro pager \cb |urlview\n 'call urlview to extract URLs out of a
> message'
> macro generic <f1> "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt
> documentation"
> macro index <f1> "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt
> documentation"
> macro pager <f1> "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt
> documentation"
> --- End /usr/local/etc/Muttrc
>
>
> >How-To-Repeat:
>
> >Fix:
> }}}
New description:
{{{
Package: mutt
Version: 1.4.2.1i
Severity: normal
-- Please type your report below this line
In certain MIME messages, mutt only displays about the first 255
characters of
each line. The message must be multipart/alternative with a transfer
encoding of quoted-printable to trigger the bug.
As an example, have mutt read the following file:
***** CUT HERE *****
From sbnoble@xxxxxxxxxxxx Thu May 13 08:39:12 2004
From: "Seth Noble" <mutt@xxxxxxxxxxxxxxxxxx>
To: mutt@xxxxxxxxxxxxxxxxxx
Subject: Mutt long line display bug
Date: 13 May 2004 05:58:26 PDT
MIME-version: 1.0
Content-type: multipart/alternative; boundary="======1084453096110======"
Status: RO
--======1084453096110======
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
This is a whole lot of meaningless stuff that is just meant to pad out a
line of text such that said line of text reaches a length which is not
less than two hundred and fifty five characters in length, but perhaps
more than two hundred and fifty five characters in length so that we can
trigger a long line display bug in mutt.
--======1084453096110======
***** CUT HERE *****
Note that changing "quoted-printable" to "7bit" fixes the problem, as does
removing the multipart Content-type line.
This behavior occurs in mutt versions 1.4i, 1.4.1i, and 1.4.2.1i
on Darwin 5.5, Darwin 7.3, and Linux 2.4.21.21
-- Build environment information
(Note: This is the build environment installed on the system
muttbug is run on. Information may or may not match the environment
used to build mutt.)
- gcc version information
gcc
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1161, based on gcc version 3.1 20020420
(prerelease)
- CFLAGS
-Wall -pedantic -g -O2
-- Mutt Version Information
Mutt 1.4.2.1i (2004-02-12)
Copyright (C) 1996-2002 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.
System: Darwin 7.3.0 (Power Macintosh) [using ncurses 5.2]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL -USE_SETGID +USE_DOTLOCK -DL_STANDALONE
+USE_FCNTL -USE_FLOCK
-USE_POP -USE_IMAP -USE_GSS -USE_SSL -USE_SASL
+HAVE_REGCOMP -USE_GNU_REGEX
+HAVE_COLOR +HAVE_START_COLOR +HAVE_TYPEAHEAD +HAVE_BKGDSET
+HAVE_CURS_SET +HAVE_META +HAVE_RESIZETERM
+HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS -SUN_ATTACHMENT
+ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS -HAVE_LANGINFO_CODESET
-HAVE_LANGINFO_YESEXPR
+HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID -HAVE_GETADDRINFO
ISPELL="/usr/local/bin/ispell"
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/mail"
PKGDATADIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
EXECSHELL="/bin/sh"
-MIXMASTER
To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
To report a bug, please use the flea(1) utility.
--- Begin /Users/sbnoble/.muttrc
set weed=no
set editor="emacs"
set include=yes
set move=no
--- End /Users/sbnoble/.muttrc
--- Begin /usr/local/etc/Muttrc
bind pager <up> previous-line
bind pager <down> next-line
bind pager [ half-up
bind pager ] half-down
set editor="pico"
set fcc_attach=no
set folder="~/Mail"
set mbox="=/received"
set hidden_host=yes
set mail_check=30
set mime_forward=ask-no
set record="=/sent"
set sort=mailbox-order
set markers=no
set simple_search="~B %s"
set smart_wrap=no
set index_format="%Z%4C %{%b %d} %-18.18L (%4l) %s"
set pager_format="-%Z- %C/%m: %-15.15n - %-25.25s %> %[%D %H:%M]"
ignore "from " received content- mime-version status x-status message-id
ignore sender references return-path lines
macro index \eb '/~b ' 'search in message bodies'
macro index \cb |urlview\n 'call urlview to extract URLs out of a message'
macro pager \cb |urlview\n 'call urlview to extract URLs out of a message'
macro generic <f1> "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt
documentation"
macro index <f1> "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt
documentation"
macro pager <f1> "!less /usr/local/doc/mutt/manual.txt\n" "Show Mutt
documentation"
--- End /usr/local/etc/Muttrc
>How-To-Repeat:
>Fix:
}}}
--
Comment:
Fixed in [171435273696] years ago.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/1875#comment:13>
Mutt <http://www.mutt.org/>
The Mutt mail user agent