From 3d8999aa13bd032a27ee0551452bf2b69f4e6abd Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sat, 24 Jun 2017 19:03:30 -0700 Subject: [PATCH] support singular tag/usertag in psuedoheaders Thanks to James Clarke for the suggested patch --- debian/changelog | 2 ++ scripts/process | 2 ++ 2 files changed, 4 insertions(+) diff --git a/debian/changelog b/debian/changelog index eae7eb1..bd2a650 100644 --- a/debian/changelog +++ b/debian/changelog @@ -50,6 +50,8 @@ debbugs (2.6.0~exp1) UNRELEASED; urgency=low been doing from the beginning anyway). (Closes: #856991) * Reply sent messages (-forwarded and -done) are not informational messages. (Closes: #864725) + * Pluralize singular tag and usertag in pseudoheaders (Closes: #861234). + Thanks to James Clarke [ Niels Thykier ] * quitcgi() now returns 400/500 status codes instead of 200 (Closes: #584922) diff --git a/scripts/process b/scripts/process index 089fa46..2e0e003 100755 --- a/scripts/process +++ b/scripts/process @@ -228,6 +228,8 @@ for my $phline (@bodylines) last if $phline !~ m/^([\w-]+):\s*(\S.*)/; my ($fn, $fv) = ($1, $2); $fv =~ s/\s*$//; + # pluralize tag/usertag + $fn = $fn.'s' if $fn =~ /^(?:tag|usertag)$/; print {$debugfh} ">$fn|$fv|\n"; $fn = lc $fn; if ($fn =~ /^control$/) { -- 2.39.2