From d9d08762ff554d5c67a35b868e89e1ad96b79c48 Mon Sep 17 00:00:00 2001 From: Tagada <36127788+Tagadda@users.noreply.github.com> Date: Tue, 5 Mar 2024 21:00:23 +0100 Subject: [PATCH] Revert " Downgrade misc_nginx_check_regex_in_location from Warning to Info" --- package_linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_linter.py b/package_linter.py index 504581e..c7a3244 100755 --- a/package_linter.py +++ b/package_linter.py @@ -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__)." )