From 866148efa4543a63db43d428642bcfcd9b375e7a Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Tue, 29 Oct 2013 10:01:50 +0100 Subject: [PATCH] [FIX] Corrected the redirect_with_hash() method that produced an incorrect url in IE and safari bzr revid: nicolas.vanhoren@openerp.com-20131029090150-u397wkzdo9an9n0w --- addons/web/controllers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 9df5355b9c1..04570b68ccf 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -91,7 +91,7 @@ db_list = http.db_list db_monodb = http.db_monodb def redirect_with_hash(url, code=303): - redirect_code = "" % url + redirect_code = "" % url if request.httprequest.user_agent.browser == 'msie': try: version = float(request.httprequest.user_agent.version)