Fix: Accept case-insensitive Last-modified pseudo header.
authorThomas Hochstein <thh@inter.net>
Sun, 21 Feb 2010 17:39:05 +0000 (18:39 +0100)
committerThomas Hochstein <thh@inter.net>
Sun, 21 Feb 2010 17:39:05 +0000 (18:39 +0100)
Signed-off-by: Thomas Hochstein <thh@inter.net>
yapfaq.pl

index a868d6f..b89be9a 100644 (file)
--- 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;
This page took 0.010236 seconds and 4 git commands to generate.