diff --git a/addons/web/common/http.py b/addons/web/common/http.py index 6c71e4696b5..93c8af711b3 100644 --- a/addons/web/common/http.py +++ b/addons/web/common/http.py @@ -568,6 +568,8 @@ class Root(object): _logger.debug("Dispatching to %s %s %s", ps, c, meth) return m ps, _slash, meth = ps.rpartition('/') + if not ps and meth: + ps = '/' return None class LibException(Exception):