summaryrefslogtreecommitdiff
path: root/addons/web/common/http.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@openerp.com>2012-08-14 14:03:35 +0200
committerChristophe Simonis <chs@openerp.com>2012-08-14 14:03:35 +0200
commit3e797902fcfb664dc2695e2b09aae9c81a6930ed (patch)
treea8beb97be7e91ee9a80d348fc8b1e72d51d920ec /addons/web/common/http.py
parentff9cbe0673eec425e5cd9caadbb0182a051b70bf (diff)
[FIX] /login route
bzr revid: chs@openerp.com-20120814120335-6lc0u21r0mhd9bl2
Diffstat (limited to 'addons/web/common/http.py')
-rw-r--r--addons/web/common/http.py2
1 files changed, 2 insertions, 0 deletions
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):