mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-09 13:55:41 +00:00
FIX Word Boundary Regex on Bad Referrers
This commit is contained in:
parent
fdcfdbf4e7
commit
622e459a33
2 changed files with 2 additions and 2 deletions
|
@ -84,7 +84,7 @@ class Generator
|
|||
$data = "";
|
||||
{
|
||||
foreach ($lines as $line) {
|
||||
$data .= "\"~*" . preg_quote($line) . "\" \t1;\n";
|
||||
$data .= "\"~*\b" . preg_quote($line) . "\"\b" "\t1;\n";
|
||||
}
|
||||
$this->writeToFile($file, $data);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue