Revert " Downgrade misc_nginx_check_regex_in_location from Warning to Info"

This commit is contained in:
Tagada 2024-03-05 21:00:23 +01:00 committed by GitHub
parent 7808953343
commit 1c5f33d100
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1448,7 +1448,7 @@ class Configurations(TestSuite):
cmd = 'grep -q -IhEro "location ~ __PATH__" %s' % (app.path + "/conf/" + filename)
if os.system(cmd) == 0:
yield Info(
yield Warning(
"When using regexp in the nginx location field (location ~ __PATH__), start the path with ^ (location ~ ^__PATH__)."
)