fixed an ip filter problem
This commit is contained in:
parent
1e3c97a477
commit
4c5886503f
1 changed files with 1 additions and 0 deletions
|
|
@ -241,6 +241,7 @@ sub isInGroup {
|
|||
$group{ipFilter} =~ s/\r//g;
|
||||
$group{ipFilter} =~ s/\n//g;
|
||||
$group{ipFilter} =~ s/\s//g;
|
||||
$group{ipFilter} =~ s/\./\\\./g;
|
||||
my @ips = split(";",$group{ipFilter});
|
||||
foreach my $ip (@ips) {
|
||||
if ($session{env}{REMOTE_ADDR} =~ /^$ip/) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue