mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
small refactor
This commit is contained in:
parent
051053d4fd
commit
f3bf1b237b
1 changed files with 1 additions and 1 deletions
|
@ -1550,7 +1550,7 @@ class Configurations(TestSuite):
|
||||||
and not line.strip().startswith(comment)
|
and not line.strip().startswith(comment)
|
||||||
):
|
):
|
||||||
for ip in re.split("[ \t,='\"(){}\[\]]", line):
|
for ip in re.split("[ \t,='\"(){}\[\]]", line):
|
||||||
if ip == "::" or ( "0.0.0.0" in ip and ip.startswith("0.0.0.0") ):
|
if ip == "::" or ip.startswith("0.0.0.0"):
|
||||||
yield Info(
|
yield Info(
|
||||||
f"{filename}:{number}: Binding to '0.0.0.0' or '::' can result "
|
f"{filename}:{number}: Binding to '0.0.0.0' or '::' can result "
|
||||||
"in a security issue as the reverse proxy and the SSO can be "
|
"in a security issue as the reverse proxy and the SSO can be "
|
||||||
|
|
Loading…
Reference in a new issue