From 8e1cb154c39d50d4b52babac75ea5e06ae97abfc Mon Sep 17 00:00:00 2001 From: Thomas Hochstein Date: Sun, 21 Feb 2010 18:39:05 +0100 Subject: [PATCH] Fix: Accept case-insensitive Last-modified pseudo header. Signed-off-by: Thomas Hochstein --- yapfaq.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yapfaq.pl b/yapfaq.pl index a868d6f..b89be9a 100644 --- a/yapfaq.pl +++ b/yapfaq.pl @@ -161,7 +161,7 @@ sub postfaq { s/\r//; push (@Body, $_), next if $InRealBody; $InRealBody++ if /^$/; - $LastModified = $1 if /^Last-modified: (\S+)$/; + $LastModified = $1 if /^Last-modified: (\S+)$/i; push @Body, $_; } close FH;