From 0ee61b37672022e8aba71b98a4e04d02795398f1 Mon Sep 17 00:00:00 2001 From: doogie <> Date: Sat, 3 May 2003 19:53:03 -0800 Subject: [PATCH] [project @ 2003-05-03 20:53:03 by doogie] Trim trailing whitespace from pseudoheader values. --- debian/changelog | 1 + scripts/process.in | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.5