[FIX] auth_oauth: quote redirect url in state

Otherwise, Firefox is splitting the state at the first &, which can potentially be located in the redict param of the state
This commit is contained in:
Denis Ledoux
2014-06-16 22:40:31 +02:00
parent 98bf37f6e1
commit 2db6a0080f
+1 -1
View File
@@ -70,7 +70,7 @@ class OAuthLogin(openerp.addons.web.controllers.main.Home):
return dict(
d=request.session.db,
p=provider['id'],
r=request.httprequest.full_path
r=werkzeug.url_quote_plus(request.httprequest.full_path)
)
@http.route()