Bug#671849: pan: inserts spurious "GIT" string in mailto: when replying
On Sun, 25 Nov 2012 12:21:04 -0500 =?iso-8859-1?B?RnLpZOlyaWMgQnJp6HJl?= wrote: > Hmph, I see that upstream has wrongly (and summarily) closed this bug > report. :( Please re-open a bug upstream (https://gitlab.gnome.org/GNOME/pan/issues ) if this is still an issue. All the best
Bug#671849: pan: inserts spurious GIT string in mailto: when replying
Hmph, I see that upstream has wrongly (and summarily) closed this bug report. :( The bug is not about the *presence* of the User-Agent header, which is indeed optional. (The 'Add User-Agent header' checkbox is found in the More Headers tab when posting an article.) This bug is about the mailto: string being malformed when the User-Agent header (or Mime-Version, or Content-Type) is split over several lines. As I pointed out in my second message, PostUI::maybe_mail_message() is to blame. It starts by converting the list of headers into a blob of text, and then proceeds to prune *lines* corresponding to certain headers, matching : as a delimiter on every line (and skipping the next character, assumed to be a space). This means that this: User-Agent: Pan/0.137 (The Mattel and Mars Bar Quick Energy Chocobot Hour; GIT 9a6aef1 git://git.gnome.org/pan2) results in this junk being included in the final headers: GIT 9a6aef1 git: /git.gnome.org/pan2) which is rightfully rejected by mutt. -- Packages should build-depend on what they should build-depend. -- Santiago Vila on debian-devel -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#671849: pan: inserts spurious GIT string in mailto: when replying
Package: pan Version: 0.137-1 Severity: normal When replying to a message via email, the mailto: string fed to the mail reader contains the following string among the various headers: GIT 9a6aef1 git: /git.gnome.org/pan2) This is clearly in violation of RFC 6068, and makes mutt somewhat unhappy. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.2.0-2-686-pae (SMP w/3 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages pan depends on: ii gnome-keyring 3.2.2-2 ii libatk1.0-0 2.4.0-2 ii libc6 2.13-32 ii libcairo2 1.10.2-7 ii libenchant1c2a 1.6.0-7 ii libfontconfig1 2.9.0-3 ii libfreetype62.4.9-1 ii libgcc1 1:4.7.0-7 ii libgdk-pixbuf2.0-0 2.26.1-1 ii libglib2.0-02.32.2-1 ii libgmime-2.6-0 2.6.7-1 ii libgnome-keyring0 3.4.1-1 ii libgnutls26 2.12.19-1 ii libgtk2.0-0 2.24.10-1 ii libgtkspell02.0.16-1 ii libnotify4 0.7.5-1 ii libpango1.0-0 1.30.0-1 ii libstdc++6 4.7.0-7 pan recommends no packages. pan suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#671849: pan: inserts spurious GIT string in mailto: when replying
On Mon, May 07, 2012 at 10:09:16AM -0400, Frédéric Brière wrote: When replying to a message via email, the mailto: string fed to the mail reader contains the following string among the various headers: GIT 9a6aef1 git: /git.gnome.org/pan2) ... which is obviously the second line of the User-Agent: header field. PostUI::maybe_mail_message() takes care to skip User-Agent, but apparently scans the headers line-by-line, and is thus confused by continuation lines. (This may therefore affect other headers in the future.) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org