mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 10:40:36 +00:00
Adjust Regex on Test Unit REF: #264
This commit is contained in:
parent
367fa7f654
commit
61a4ca82f0
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ rm ${_inputdb3}
|
|||
printf '%s\n' "$_start4" >> ${_tmpnginx4}
|
||||
while IFS= read -r LINE
|
||||
do
|
||||
printf '\t"~*%s%s"\t\t%s\n' "(?:\b|)${LINE}" "(?:|\s|,|\.|\b|\/)" "$_action4" >> ${_tmpnginx4}
|
||||
printf '\t"~*%s%s"\t\t%s\n' "(?:\b)${LINE}" "(?:|\s|,|\.|\b|\/)" "$_action4" >> ${_tmpnginx4}
|
||||
#printf '\t"~*%s"\t\t%s\n' "${LINE}" "$_action4" >> ${_tmpnginx4}
|
||||
done < ${_input4}
|
||||
printf '%s\n' "$_end4" >> ${_tmpnginx4}
|
||||
|
|
Loading…
Add table
Reference in a new issue