Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
explored possible ways to do it, got trapped.
[git.ikiwiki.info.git]
/
IkiWiki
/
CGI.pm
diff --git
a/IkiWiki/CGI.pm
b/IkiWiki/CGI.pm
index 28020b500c830bafc52cf49c3ba75bc5dfca1ce4..f2a32a9581077553d5b542fde40f428c15a5e41a 100644
(file)
--- a/
IkiWiki/CGI.pm
+++ b/
IkiWiki/CGI.pm
@@
-283,7
+283,7
@@
sub check_banned ($$) {
foreach my $b (@{$config{banned_users}}) {
if (pagespec_match("", $b,
- ip => $
ENV{REMOTE_ADDR}
,
+ ip => $
session->remote_addr()
,
name => defined $name ? $name : "",
)) {
$banned=1;