mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 02:29:58 +00:00
Test new regex pattern for User-Agents with word boundaries.
This commit is contained in:
parent
267581e4e3
commit
de7a7fb895
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ _action4="3;"
|
|||
printf '%s\n' "$_start1" >> "$_tmpnginx1"
|
||||
while IFS= read -r LINE
|
||||
do
|
||||
printf '\t"~*%s"\t\t%s\n' "${LINE}" "$_action1" >> "$_tmpnginx1"
|
||||
printf '\t"~*%s%s%s"\t\t%s\n' "\b" "${LINE}" "\b" "$_action1" >> "$_tmpnginx1"
|
||||
done < $_input1
|
||||
printf '%s\n' "$_end1" >> "$_tmpnginx1"
|
||||
mv $_tmpnginx1 $_inputdb1
|
||||
|
|
Loading…
Add table
Reference in a new issue