mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
Adjust Test Case on Test Unit REF: #264
This commit is contained in:
parent
a422c5c620
commit
55e34cd974
1 changed files with 2 additions and 2 deletions
|
@ -139,7 +139,7 @@ map $http_user_agent $bad_bot {
|
|||
|
||||
# TEST CASES
|
||||
# **********
|
||||
"~*(?:\b|)ozilla(?:|\s|,|\.|\b|\/)" 3;
|
||||
"~*(?:\b)ozilla(?:|\s|,|\.|\b|\/)" 3;
|
||||
|
||||
|
||||
# START BAD BOTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
|
@ -708,7 +708,7 @@ map $http_user_agent $bad_bot {
|
|||
|
||||
# TEST CASES
|
||||
# **********
|
||||
"~*(?:\b|)Mozilla(?:|\s|,|\.|\b|\/|)" 0;
|
||||
#"~*(?:\b)Mozilla(?:|\s|,|\.|\b|\/|)" 0;
|
||||
|
||||
# START GOOD BOTS ### DO NOT EDIT THIS LINE AT ALL ###
|
||||
"~*\badidxbot\b" 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue