Mercurial > libervia-web
diff src/server/pages.py @ 1041:688b52897ba0
pages: check redirections on getURLByNames
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 24 Jan 2018 09:58:00 +0100 |
parents | 6b906b1f419a |
children | 6b1e1f13a299 |
line wrap: on
line diff
--- a/src/server/pages.py Wed Jan 24 09:58:00 2018 +0100 +++ b/src/server/pages.py Wed Jan 24 09:58:00 2018 +0100 @@ -519,7 +519,7 @@ path.append(sub_path) if page_args: path.extend([quote(a) for a in page_args]) - return u'/'.join(path) + return self.host.checkRedirection(u'/'.join(path)) def getChildWithDefault(self, path, request): # we handle children ourselves