diff --git a/.dev-tools/test-blocker-whitelist.sh b/.dev-tools/test-blocker-whitelist.sh index f349027f6..2448474d9 100755 --- a/.dev-tools/test-blocker-whitelist.sh +++ b/.dev-tools/test-blocker-whitelist.sh @@ -266,7 +266,7 @@ file=${TRAVIS_BUILD_DIR}/.dev-tools/test_units/rate-limit-googlebot.list lines=$(cat ${file}) for line in ${lines}; do if - curl http://localhost:9000 -e "http://${line}" 2>&1 | grep -i 'Welcome'; then + curl -A "${line}" http://localhost:9000 2>&1 | grep -i 'Welcome'; then echo "${bold}${green}PASSED - ${red}${line} was ${bold}${green}ALLOWED" else echo "${bold}${red}FAILED - ${red}${line} was ${bold}${red}NOT ALLOWED"