summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2014-06-16 22:40:31 +0200
committerDenis Ledoux <dle@odoo.com>2014-06-16 22:40:31 +0200
commit2db6a0080f9eeac7030d6d2d856574f2192d8aa5 (patch)
treec3cd26e177196ae87a2ac741b52675f411258739
parent98bf37f6e1a7726e0bdb0d997adc8086578ec66f (diff)
[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
-rw-r--r--addons/auth_oauth/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/auth_oauth/controllers/main.py b/addons/auth_oauth/controllers/main.py
index 08319b982fd..e3bd6c13580 100644
--- a/addons/auth_oauth/controllers/main.py
+++ b/addons/auth_oauth/controllers/main.py
@@ -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()