From bc30805c7d089b033c734a358241b43dc1b6e91e Mon Sep 17 00:00:00 2001 From: tituspijean Date: Mon, 17 Apr 2023 13:18:10 +0200 Subject: [PATCH] [enh] exclude .well-known subpaths from conflict checks --- src/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.py b/src/app.py index 91b55b39d..0f1e74f37 100644 --- a/src/app.py +++ b/src/app.py @@ -2869,7 +2869,7 @@ def _get_conflicting_apps(domain, path, ignore_app=None): for p, a in apps_map[domain].items(): if a["id"] == ignore_app: continue - if path == p or path == "/" or p == "/": + if path == p or ( not path.startswith("/.well-known/") and path == "/" ) or ( not path.startswith("/.well-known/") and p == "/" ): conflicts.append((p, a["id"], a["label"])) return conflicts