Bug#552167: reportbug: moves Forwarded: pseudo-header to mail header
On Sat, Mar 6, 2010 at 11:56, Piotr Engelking inkerma...@gmail.com wrote: But Forwarded: _is_ a legitimate pseudo-header. added as of commit 42617f0 -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#552167: reportbug: moves Forwarded: pseudo-header to mail header
Hello Piotr, On Thu, Mar 4, 2010 at 01:56, Piotr Engelking inkerma...@gmail.com wrote: commit c1b3e2969fe87e0607742bc4c478d58691018259 Author: Sandro Tosi mo...@debian.org Date: Wed Mar 3 19:20:52 2010 +0100 identify the pseudo-headers passed on the command-line and don't merge them in the mail headers, but add them to the bug standard pseudo-headers; thanks to Piotr Engelking for the report; Closes: #552167 This takes care of the pseudo-header specified at the command line, but not of the one added by hand during editing. The latter is still moved to the mail header. Yes, that's intended (I'm going to clarify this in the documentation). The problem is, sometimes is handy to be able to add a mail header in the pseudo-header section, and have it moved to mail header when sending the report. For example X-Debbugs-CC. If I have to leave all those files in the pseudoheader section without moving them, then there would be a kind-of regression. So, I decided to force those p.h. to be left in the p.h. section only if specified on the command-line, and keep doing the same filtering (if the field is recorded in the p.h. list of headers) and move the other fields to mail headers if specified in the mail text. Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#552167: reportbug: moves Forwarded: pseudo-header to mail header
Sandro Tosi mo...@debian.org: Yes, that's intended (I'm going to clarify this in the documentation). The problem is, sometimes is handy to be able to add a mail header in the pseudo-header section, and have it moved to mail header when sending the report. For example X-Debbugs-CC. This is no longer useful, since X-Debbugs-* can be used as pseudo-headers, nowadays. If I have to leave all those files in the pseudoheader section without moving them, then there would be a kind-of regression. So, I decided to force those p.h. to be left in the p.h. section only if specified on the command-line, and keep doing the same filtering (if the field is recorded in the p.h. list of headers) and move the other fields to mail headers if specified in the mail text. But Forwarded: _is_ a legitimate pseudo-header. At the same time, the Forwarded: mail header: * had never been official * had been obsoleted 30 years ago * had never been intended to be inserted by humans -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#552167: reportbug: moves Forwarded: pseudo-header to mail header
commit c1b3e2969fe87e0607742bc4c478d58691018259 Author: Sandro Tosi mo...@debian.org Date: Wed Mar 3 19:20:52 2010 +0100 identify the pseudo-headers passed on the command-line and don't merge them in the mail headers, but add them to the bug standard pseudo-headers; thanks to Piotr Engelking for the report; Closes: #552167 This takes care of the pseudo-header specified at the command line, but not of the one added by hand during editing. The latter is still moved to the mail header. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#552167: reportbug: moves Forwarded: pseudo-header to mail header
Package: reportbug Version: 4.8 Severity: normal Reportbug moves a user-provided Forwarded: pseudo-header to the mail header (which has quite a different meaning). This happens regardless of whether the pseudo-header is added by hand during editing or specified at the command line: $ reportbug --email=...@foo -P 'Forwarded: foo' -q --realname=foo --template foo 2 /dev/null | head Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: foo f...@foo To: Debian Bug Tracking System sub...@bugs.debian.org Subject: none Forwarded: foo Package: foo Severity: wishlist $ -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing'), (400, 'unstable'), (300, 'experimental') Architecture: i386 (x86_64) Kernel: Linux 2.6.31 (SMP w/2 CPU cores) Locale: LANG=C, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages reportbug depends on: ii apt 0.7.23.1 Advanced front-end for dpkg ii python2.5.4-2An interactive high-level object-o ii python-reportbug 4.8Python modules for interacting wit reportbug recommends no packages. Versions of packages reportbug suggests: ii debconf-utils 1.5.27 debconf utilities pn debsums none (no description available) pn dlocate none (no description available) ii file 5.03-2 Determines file type using magic ii gnupg 1.4.10-2 GNU privacy guard - a free PGP rep ii postfix [mail-transport-agent 2.6.5-3High-performance mail transport ag ii python-gtk2 2.16.0-1 Python bindings for the GTK+ widge ii python-gtkspell 2.25.3-2 Python bindings for the GtkSpell l pn python-urwid none (no description available) ii python-vte1:0.22.2-2 Python bindings for the VTE widget ii xdg-utils 1.0.2-6.1 desktop integration utilities from -- 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