From 52c2127e3544f7ab4d8aaff50b85b576f4300d6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Mon, 25 May 2020 10:45:40 +0200 Subject: [PATCH] Don't add unprotected_urls if it's already in skipped_urls --- src/yunohost/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index b9116693b..5a72a757e 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -1338,7 +1338,7 @@ def app_ssowatconf(): url = _sanitized_absolute_url(perm_info["url"]) perm_info["url"] = url if "visitors" in perm_info["allowed"]: - if url not in unprotected_urls: + if url not in unprotected_urls and url not in skipped_urls: unprotected_urls.append(url) # Legacy stuff : we remove now protected-urls that might have been declared as unprotected earlier...