From 3e797902fcfb664dc2695e2b09aae9c81a6930ed Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Tue, 14 Aug 2012 14:03:35 +0200 Subject: [PATCH] [FIX] /login route bzr revid: chs@openerp.com-20120814120335-6lc0u21r0mhd9bl2 --- addons/web/common/http.py | 2 ++ 1 file changed, 2 insertions(+) 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):