Skip to content
Snippets Groups Projects
Commit 2db6a008 authored by Denis Ledoux's avatar Denis Ledoux
Browse files

[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
parent 98bf37f6
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment