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

Bug#153590: marked as done (does not accept whitespace at end of Severity line)

Your message dated Fri, 06 Jun 2003 05:02:07 -0400
with message-id <E19OD6t-0006p6-00@auric.debian.org>
and subject line Bug#153590: fixed in debbugs 2.4.1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 19 Jul 2002 16:54:49 +0000
>From weasel@debian.org Fri Jul 19 11:54:49 2002
Return-path: <weasel@debian.org>
Received: from nautilus.3node.com [] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 17Vb1i-0002Rg-00; Fri, 19 Jul 2002 11:54:47 -0500
Received: from marvin.palfrader.org (marvin.oeknet.mhn.de [])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(Client CN "marvin.palfrader.org", Issuer "Peter Palfrader" (verified OK))
	by nautilus.3node.com (Postfix) with ESMTP id 45F9E122FEE
	for <submit@bugs.debian.org>; Fri, 19 Jul 2002 18:54:43 +0200 (CEST)
Received: from valiant.palfrader.org (valiant.oeknet.mhn.de [])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(Client CN "valiant.palfrader.org", Issuer "Peter Palfrader" (verified OK))
	by marvin.palfrader.org (Postfix) with ESMTP
	id 848E5136A5; Fri, 19 Jul 2002 18:54:42 +0200 (CEST)
Received: by valiant.palfrader.org (Postfix, from userid 1000)
	id ED41B1FA0FA; Fri, 19 Jul 2002 18:54:36 +0200 (CEST)
Date: Fri, 19 Jul 2002 18:54:36 +0200
From: Peter Palfrader <weasel@debian.org>
To: submit@bugs.debian.org
Subject: does not accept whitespace at end of Severity line
Message-ID: <20020719165436.GD16616@valiant.oeknet.mhn.de>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="NklN7DEeGtkPCoo3"
Content-Disposition: inline
User-Agent: Mutt/1.4i
X-Debbugs-CC: Adrian Bunk <bunk@fs.tum.de>
X-PGP: 1024R/D1A3A329 BB A2 DC FE D7 D2 09 BF  93 46 36 6F C1 A4 41 1A
X-GPG: 1024D/94C09C7F 5B00 C96D 5D54 AEE1 206B  AF84 DE7A AF6E 94C0 9C7F
X-Accept-Language: de, en
Delivered-To: submit@bugs.debian.org

Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Package: bugs.debian.org
Severity: normal
Version: 2002-07-19 16:51 UTC
Tags: patch

Please see #150595. It was reported with the Severity line
=BBSeverity: critical =AB.

The BTS did not handle this as one would expect (i.e. it did not ignore
the tailing whitespace)

This could fix it I think:

--- process.orig	Fri Jul 19 11:47:57 2002
+++ process	Fri Jul 19 11:48:42 2002
@@ -91,21 +91,21 @@
 #if the lines starts with -- or is nothing but blank space...
 #skip to the next blank line(s) then skip past the blank line(s)
 if ( $msg[$i] =3D~ /^--/ || $msg[$i] =3D~ /^\s*$/ )
 	while ( $i <=3D $#msg && length( $msg[$i] ) ) { $fwd .=3D $msg[$i] . "\n"=
; $i++; }
 	while ( $i <=3D $#msg && !length( $msg[$i] ) ) { $fwd .=3D "\n"; $i++; }
 }	=09
 while (defined ($msg[$i] ) )
-	last if ( $msg[$i] !~ m/^([\w]+):\s*(\S.*)/ );
+	last if ( $msg[$i] !~ m/^([\w]+):\s*(\S.*?)\s*$/ );
 	$fn =3D $1; $fv =3D $2;
 	print DEBUG ">$fn|$'|\n";
     $fwd .=3D $fn.': '.$fv."\n";
     $fn =3D~ y/A-Z/a-z/;
     $fv =3D~ y/A-Z/a-z/;
     $pheader{$fn}=3D $fv;
 	print DEBUG ">$fn~$fv<\n";

Adrian: CCed FYI.

 PGP signed and encrypted  |  .''`.  ** Debian GNU/Linux **
    messages preferred.    | : :' :      The  universal
                           | `. `'      Operating System
 http://www.palfrader.org/ |   `-    http://www.debian.org/

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.0.7 (GNU/Linux)



Received: (at 153590-close) by bugs.debian.org; 6 Jun 2003 09:08:11 +0000
>From katie@auric.debian.org Fri Jun 06 04:08:07 2003
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19ODCg-0004AF-00; Fri, 06 Jun 2003 04:08:06 -0500
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 19OD6t-0006p6-00; Fri, 06 Jun 2003 05:02:07 -0400
From: Colin Watson <cjwatson@debian.org>
To: 153590-close@bugs.debian.org
X-Katie: $Revision: 1.34 $
Subject: Bug#153590: fixed in debbugs 2.4.1
Message-Id: <E19OD6t-0006p6-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Fri, 06 Jun 2003 05:02:07 -0400
Delivered-To: 153590-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
debbugs, which is due to be installed in the Debian FTP archive:

  to pool/main/d/debbugs/debbugs_2.4.1.dsc
  to pool/main/d/debbugs/debbugs_2.4.1.tar.gz
  to pool/main/d/debbugs/debbugs_2.4.1_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 153590@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Colin Watson <cjwatson@debian.org> (supplier of updated debbugs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Fri,  6 Jun 2003 09:25:30 +0100
Source: debbugs
Binary: debbugs
Architecture: source all
Version: 2.4.1
Distribution: unstable
Urgency: low
Maintainer: Debbugs developers <debian-debbugs@lists.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
 debbugs    - The bug tracking system based on the active Debian BTS
Closes: 50746 60595 136114 139696 139697 153590 170630 194892
 debbugs (2.4.1) unstable; urgency=low
   * Colin Watson:
     - Exit the CGI scripts straight away if the HTTP method is HEAD, to save
       pointless work.
     - Display pending+fixed bugs as "fixed in NMU", not "pending upload".
     - Add a man page for debbugsconfig.
     - Report original tags when changing them, closes: #170630.
     - Add missing <ul></ul> tags to db2html's output, closes: #50746.
     - Add a 'submitter' command to service, based on a patch by Matt Kraai.
     - Remove the final use of cgi-lib.pl, so it's gone. Remove copyright
       notices that were there due to using it.
     - Accept ';' as well as '&' as a CGI argument separator.
     - db2html now works with the new hashed database layout.
     - Disable the fixed severity in favour of the tag.
     - MIME-encoded messages to bugs are displayed in decoded form on the web
       interface (unless the "mime=no" parameter is used), closes: #136114.
     - Add facility to search by tag.
     - Fix rebuild script and add it to the example crontab, closes: #139696.
     - Silence postinst warning if spool/db doesn't exist, closes: #194892.
     - Clean up the definition and use of $gCGIDomain, closes: #139697.
   * Adam Heath:
     - Convert all code to use global read/write functions, instead of having
       it duplicated everywhere.
     - Trim trailing whitespace from pseudoheader values.  Closes: #153590.
     - Warn when reassigning to an unknown package.  Closes: #60595.
   * Josip Rodin:
     - Added a terse=yes mode for bugreport.cgi, possibly useful for
       monstrously long bugs.
     - Purged needless date(1) forks, replaced with strftime.
 be53b401dee7439bbb1a958aa9536023 651 misc optional debbugs_2.4.1.dsc
 9ea18f80dd547609304640c7ec0b15f3 112166 misc optional debbugs_2.4.1.tar.gz
 9ee71a369b44f2603fde74b98754a48b 85030 misc optional debbugs_2.4.1_all.deb

Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer


Reply to: