From: doogie <> Date: Sun, 4 May 2003 03:53:03 +0000 (-0800) Subject: [project @ 2003-05-03 20:53:03 by doogie] X-Git-Tag: release/2.6.0~920 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=0ee61b37672022e8aba71b98a4e04d02795398f1;p=debbugs.git [project @ 2003-05-03 20:53:03 by doogie] Trim trailing whitespace from pseudoheader values. --- diff --git a/debian/changelog b/debian/changelog index 1cc376fe..4ce9ef96 100644 --- a/debian/changelog +++ b/debian/changelog @@ -16,6 +16,7 @@ debbugs (2.4.1) UNRELEASED; urgency=low * Adam Heath: - Convert all code to use global read/write functions, instead of having it duplicated everwhere. + - Trim trailing whitespace from pseudoheader values. Closes: #153590. -- Colin Watson Mon, 25 Nov 2002 03:50:20 +0000 diff --git a/scripts/process.in b/scripts/process.in index 2d320a01..abd72167 100755 --- a/scripts/process.in +++ b/scripts/process.in @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $Id: process.in,v 1.66 2003/05/03 20:01:20 doogie Exp $ +# $Id: process.in,v 1.67 2003/05/03 20:53:03 doogie Exp $ # # Usage: process nn # Temps: incoming/Pnn @@ -132,6 +132,7 @@ for my $phline (@bodylines) { last if $phline !~ m/^([\w]+):\s*(\S.*)/; my ($fn, $fv) = ($1, $2); + $fv =~ s/\s*$// print DEBUG ">$fn|$fv|\n"; $fn = lc $fn; $fv = lc $fv;