summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2011-04-06 21:34:35 (GMT)
committerH. Peter Anvin <hpa@zytor.com>2011-04-06 21:34:35 (GMT)
commitf27941289a55c690618bfa01111929ff422ae5b0 (patch)
treefab97c9cd9983292e7886063402e4247db225550
parentf8f2e096aab5f7f722d40ba9ec953eeed9d57145 (diff)
downloadtip-bot-f27941289a55c690618bfa01111929ff422ae5b0.zip
tip-bot-f27941289a55c690618bfa01111929ff422ae5b0.tar.gz
tip-bot-f27941289a55c690618bfa01111929ff422ae5b0.tar.bz2
tip-bot-f27941289a55c690618bfa01111929ff422ae5b0.tar.xz
If a URL is used, call the tag Link:
-rwxr-xr-xrobotfmt.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/robotfmt.pl b/robotfmt.pl
index a9971cf..d8a193f 100755
--- a/robotfmt.pl
+++ b/robotfmt.pl
@@ -116,7 +116,7 @@ while (defined($l = <LOG>)) {
if (Email::Valid->address($e)) {
$cclist{$e}++;
}
- } elsif ($l =~ /^LKML-Reference:\s*http:\/\/lkml.kernel.org\/r\/\<?([^\;\?\<\>\#]+)\>?$/i) {
+ } elsif ($l =~ /^Link:\s*http:\/\/lkml.kernel.org\/r\/\<?([^\;\?\<\>\#]+)\>?$/i) {
my $ref = uri_unescape($1);
if ($ref ne '' && $ref !~ /[^!#\$\%&'()*+,-.\/0-9:;=?\@A-Z\[\]_`a-z{|}~]/) {
$cclist{$lkml}++;