projects
/
usenet
/
yapfaq.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc66bfa
)
Fix: Accept leading/trailing whitespace for Last-modified pseudo header.
author
Thomas Hochstein
<thh@inter.net>
Sat, 15 May 2010 14:32:58 +0000
(16:32 +0200)
committer
Thomas Hochstein
<thh@inter.net>
Sat, 15 May 2010 14:32:58 +0000
(16:32 +0200)
Signed-off-by: Thomas Hochstein <thh@inter.net>
yapfaq.pl
patch
|
blob
|
blame
|
history
diff --git
a/yapfaq.pl
b/yapfaq.pl
index
2b5fe2f
..
6e3032c
100644
(file)
--- a/
yapfaq.pl
+++ b/
yapfaq.pl
@@
-263,7
+263,7
@@
sub postfaq {
s/\r//;
push (@Body, $_), next if $InRealBody;
$InRealBody++ if /^$/;
- $LastModified = $1 if /^Last-modified:
(\S+)
$/i;
+ $LastModified = $1 if /^Last-modified:
\s*(\S+)\s*
$/i;
push @Body, $_;
}
close FH;
This page took
0.011911 seconds
and
4
git commands to generate.