test fix
This commit is contained in:
parent
c2390164e6
commit
ddf3a9ed74
2 changed files with 2 additions and 7 deletions
|
|
@ -50,7 +50,7 @@ returns true if the remote address matches a site which is a known indexer or sp
|
|||
sub callerIsSearchSite {
|
||||
|
||||
my $self = shift;
|
||||
my $remoteAddress = $self->get('REMOTE_ADDR');
|
||||
my $remoteAddress = $self->getIp;
|
||||
|
||||
return 1 if $remoteAddress =~ /203\.87\.123\.1../ # Blaiz Enterprise Rawgrunt search
|
||||
|| $remoteAddress =~ /123\.113\.184\.2../ # Unknown Yahoo Robot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue