mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix regression following small refactoring
This commit is contained in:
parent
a5df52200a
commit
de96b094b2
1 changed files with 1 additions and 1 deletions
|
@ -735,7 +735,7 @@ def _validate_and_sanitize_permission_url(url, app_base_path, app):
|
|||
# and (domain, path) to be : (domain.tld, /app/admin)
|
||||
sanitized_url = "/" + url.strip("/")
|
||||
domain, path = split_domain_path(app_base_path)
|
||||
path = "/" + path.strip("/") + sanitized_url.strip("/")
|
||||
path = "/" + path.strip("/") + sanitized_url
|
||||
|
||||
# uris with domain
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue