Mercurial > libervia-web
changeset 1473:b4cead3cea43
pages: fix crash when page is redirected but with different args
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 20 Oct 2021 12:12:25 +0200 |
parents | 915c7c2f1729 |
children | c36490a98817 |
files | libervia/server/pages.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libervia/server/pages.py Fri Oct 15 21:14:29 2021 +0200 +++ b/libervia/server/pages.py Wed Oct 20 12:12:25 2021 +0200 @@ -690,6 +690,8 @@ remaining_url = "/".join(remaining) url = os.path.join("/", url_base, remaining_url) break + else: + url = os.path.join(self.url, *url_args) else: url = os.path.join(self.url, *url_args)