mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-09 13:55:41 +00:00
Fix Regex and User-Agent Logic Order of Test Unit REF: #264
This commit is contained in:
parent
8ebc9af274
commit
24df6f7b78
3 changed files with 87 additions and 83 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' "/${LINE}" "?(\b)/" "$_action4" >> ${_tmpnginx4}
|
||||
printf '\t"~*%s%s"\t\t%s\n' "${LINE}" "(?:\.|\b|\/)" "$_action4" >> ${_tmpnginx4}
|
||||
#printf '\t"~*%s"\t\t%s\n' "${LINE}" "$_action4" >> ${_tmpnginx4}
|
||||
done < ${_input4}
|
||||
printf '%s\n' "$_end4" >> ${_tmpnginx4}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue