From 0ea89c10b6ef3c449c93ae6753dd058bcbcc2ddc Mon Sep 17 00:00:00 2001 From: Nicolas Lempereur Date: Thu, 20 Aug 2015 10:51:49 +0200 Subject: [PATCH] [FIX] web: keep hash when login redirect The anchor part of the url should be kept when a login redirect is done. introduced by 8f3f9ef46b note: for 8.0 and saas-6 --- 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 7452f5644fc..8e844e816c7 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -314,7 +314,7 @@ def login_redirect(): # built the redirect url, keeping all the query parameters of the url redirect_url = '%s?%s' % (request.httprequest.base_url, werkzeug.urls.url_encode(request.params)) return """ """ % (url, redirect_url)