X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=cgi%2Fbugreport.cgi;h=fabe9bc85dcc84146f3befbccebb4129c68bf789;hb=a82045e6d1d4e3494f6e8af5833738d31c60d6b0;hp=db4619d85d7fb3047978e153a41fa1bce131f51d;hpb=fc6d410ad2c482c534d75800702f0f6ded69e171;p=debbugs.git diff --git a/cgi/bugreport.cgi b/cgi/bugreport.cgi index db4619d..fabe9bc 100755 --- a/cgi/bugreport.cgi +++ b/cgi/bugreport.cgi @@ -73,6 +73,17 @@ my $mbox = $param{'mbox'} eq 'yes'; my $mime = $param{'mime'} eq 'yes'; my $avatars = $param{avatars} eq 'yes'; +my $trim_headers = ($param{trim} || ((defined $msg and $msg)?'no':'yes')) eq 'yes'; + +my $mbox_status_message = $param{mboxstat} eq 'yes'; +my $mbox_maint = $param{mboxmaint} eq 'yes'; +$mbox = 1 if $mbox_status_message or $mbox_maint; + +# Not used by this script directly, but fetch these so that pkgurl() and +# friends can propagate them correctly. +my $archive = $param{'archive'} eq 'yes'; +my $repeatmerged = $param{'repeatmerged'} eq 'yes'; + my %bugusertags; my %ut; my %seen_users; @@ -124,20 +135,6 @@ if (defined $param{usertag}) { } -my $trim_headers = ($param{trim} || ((defined $msg and $msg)?'no':'yes')) eq 'yes'; - -my $mbox_status_message = $param{mboxstat} eq 'yes'; -my $mbox_maint = $param{mboxmaint} eq 'yes'; -$mbox = 1 if $mbox_status_message or $mbox_maint; - - -# Not used by this script directly, but fetch these so that pkgurl() and -# friends can propagate them correctly. -my $archive = $param{'archive'} eq 'yes'; -my $repeatmerged = $param{'repeatmerged'} eq 'yes'; - - - my $buglogfh; if ($buglog =~ m/\.gz$/) { my $oldpath = $ENV{'PATH'};