[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#33962: X-Debian-CC doesn't work as advertised (patch included)



Package: debbugs
Version: 1.0

This is a bug report against the BTS itself.  I don't know where
exactly to send it, so please forgive me if this is the wrong place.
All I know is that it's a trivial change, and I want it fixed RIGHT
NOW, RIGHT NOW! ;)

http://www.debian.org/Bugs/Reporting says that in order to cc a bug
report to other lists, ``the right way to do this is to use the
X-Debian-CC header.''

However, that doesn't work.  master:~iwj/debian-bugs/scripts/process
actually uses the `dbc_xcc_hdr' header (yuck!).  To demonstrate this,
I sent this e-mail using only:

  To: submit@bugs.debian.org
  dbc_xcc_hdr: owner@bugs.debian.org, debian-devel@lists.debian.org

Attached is a patch to make the BTS work as advertised.

1999-02-28  Gordon Matzigkeit  <gord@trick.fig.org>

	* process: Actually use the `X-Debian-CC' header to forward
          bug reports, not `dbc_xcc_hdr'.

Thanks,

-- 
 Gordon Matzigkeit <gord@fig.org>  //\ I'm a FIG (http://www.fig.org/)
Committed to freedom and diversity \// I use GNU (http://www.gnu.org/)

--- /debian/home/iwj/debian-bugs/scripts/process        Wed Feb 10 00:32:19 1999
+++ /debian/home/gord/process   Sun Feb 28 11:35:12 1999
@@ -54,7 +54,7 @@
     last unless length($_);
     &quit("looping detected") if m/^x-loop: (\S+)$/i && $1 eq 'owner@bugs.debian.org';
     $ins= !m/^subject:/i && !m/^reply-to:/i && !m/^return-path:/i
-       && !m/^From / && !m/^dbc_xcc_hdr:/i && !m/^received:/i;
+       && !m/^From / && !m/^x-debian-cc:/i && !m/^received:/i;
     $fwd .= $_."\n" if $ins;
     while ($msg[$i+1] =~ m/^\s/) {
         $i++;
@@ -435,7 +435,7 @@
 $orgsender= defined($header{'sender'}) ? "Orignal-Sender: $header{'sender'}\n" : '';
 $newsubject= $subject;  $newsubject =~ s/^Bug#$ref\W*\s*//;

-$xcchdr= $header{dbc_xcc_hdr};
+$xcchdr= $header{'x-debian-cc'};
 if ($xcchdr =~ m/\S/) {
     push(@resentccs,$xcchdr);
     $resentccexplain.= <<END;


Reply to: