mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
Merge pull request #132 from YunoHost/OniriCorpe-patch-1
Downgrade misc_nginx_check_regex_in_location from Warning to Info
This commit is contained in:
commit
daf913007a
1 changed files with 1 additions and 1 deletions
|
@ -1448,7 +1448,7 @@ class Configurations(TestSuite):
|
||||||
cmd = 'grep -q -IhEro "location ~ __PATH__" %s' % (app.path + "/conf/" + filename)
|
cmd = 'grep -q -IhEro "location ~ __PATH__" %s' % (app.path + "/conf/" + filename)
|
||||||
|
|
||||||
if os.system(cmd) != 0:
|
if os.system(cmd) != 0:
|
||||||
yield Warning(
|
yield Info(
|
||||||
"When using regexp in the nginx location field (location ~ __PATH__), start the path with ^ (location ~ ^__PATH__)."
|
"When using regexp in the nginx location field (location ~ __PATH__), start the path with ^ (location ~ ^__PATH__)."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue