From 20a7c8ea2a21e16ce313eb8270b7e5ac7385146c Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Mon, 11 Mar 2024 03:44:02 +0100 Subject: [PATCH] ouspi, forgot the filename --- package_linter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package_linter.py b/package_linter.py index 758ffb4..9beaf75 100755 --- a/package_linter.py +++ b/package_linter.py @@ -1584,7 +1584,7 @@ class Configurations(TestSuite): for ip in re.split("[ \t,='\"(){}\[\]]", line): if ip == "::" or ip.startswith("0.0.0.0"): yield Info( - f"{os.path.relpath(path, app.path)}:{number}: " + f"{os.path.relpath(path, app.path)}/{filename}:{number}: " "Binding to '0.0.0.0' or '::' can result in a security issue " "as the reverse proxy and the SSO can be bypassed by knowing " "a public IP (typically an IPv6) and the app port. "