mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] exclude .well-known subpaths from conflict checks
This commit is contained in:
parent
9a585f03c6
commit
bc30805c7d
1 changed files with 1 additions and 1 deletions
|
@ -2869,7 +2869,7 @@ def _get_conflicting_apps(domain, path, ignore_app=None):
|
||||||
for p, a in apps_map[domain].items():
|
for p, a in apps_map[domain].items():
|
||||||
if a["id"] == ignore_app:
|
if a["id"] == ignore_app:
|
||||||
continue
|
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"]))
|
conflicts.append((p, a["id"], a["label"]))
|
||||||
|
|
||||||
return conflicts
|
return conflicts
|
||||||
|
|
Loading…
Add table
Reference in a new issue