projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2411e2b
)
pinger: avoid pinging our own local path, too
author
Simon McVittie
<smcv@debian.org>
Tue, 23 Nov 2010 23:14:01 +0000
(23:14 +0000)
committer
Simon McVittie
<smcv@debian.org>
Tue, 23 Nov 2010 23:14:38 +0000
(23:14 +0000)
IkiWiki/Plugin/pinger.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/pinger.pm
b/IkiWiki/Plugin/pinger.pm
index cc9f52d2b50e7e880882ff56b89d8bafba5c274d..932619496c3d3c7634cb1a550a920dae106140a2 100644
(file)
--- a/
IkiWiki/Plugin/pinger.pm
+++ b/
IkiWiki/Plugin/pinger.pm
@@
-106,6
+106,8
@@
sub ping {
# only ping when a page was changed, so a ping loop
# will still be avoided.
next if $url=~/^\Q$config{cgiurl}\E/;
+ my $local_cgiurl = IkiWiki::cgiurl();
+ next if $url=~/^\Q$local_cgiurl\E/;
$ua->get($url);
}