mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-01 18:19:55 +00:00
GHA workflow - Fix Test 1 [skip travis]
This commit is contained in:
parent
283138cc4e
commit
4de16cf144
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ UAtest_mustmatch () {
|
|||
for mustmatch in "${UAmustmatch[@]}"
|
||||
do
|
||||
if
|
||||
curl -A "${mustmatch}" http://localhost:80 2>&1 | grep -i '(52)'; then
|
||||
curl -A "${mustmatch}" http://localhost:80 2>&1 | grep -i 'Empty reply'; then
|
||||
echo "${bold}${green}PASSED - ${red}${mustmatch} was ${bold}${red}BLOCKED"
|
||||
else
|
||||
echo "${bold}${red}FAILED - ${red}${mustmatch} was ${bold}${red}NOT BLOCKED"
|
||||
|
|
Loading…
Add table
Reference in a new issue