diff options
| author | Fabien Meghazi <fme@openerp.com> | 2014-02-25 11:46:54 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2014-02-25 11:46:54 +0100 |
| commit | 35a7182893f3f46204b252d9fedf746902f9bba5 (patch) | |
| tree | 31de7af0a82c49fa7ae84dbdf8137eea88c59392 /addons/auth_oauth/controllers/main.py | |
| parent | 6f670c58ce61254adcd37353b64f355527e2982b (diff) | |
| parent | 2ab61cf001fab1d30050598931bfa39956cf4883 (diff) | |
[MERGE] upstream
bzr revid: fme@openerp.com-20140225104654-d1ni7z5t8w0qc7mw
Diffstat (limited to 'addons/auth_oauth/controllers/main.py')
| -rw-r--r-- | addons/auth_oauth/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/auth_oauth/controllers/main.py b/addons/auth_oauth/controllers/main.py index 252afc36b30..5a22240abac 100644 --- a/addons/auth_oauth/controllers/main.py +++ b/addons/auth_oauth/controllers/main.py @@ -25,7 +25,7 @@ def fragment_to_query_string(func): return """<html><head><script> var l = window.location; var q = l.hash.substring(1); - var r = '/' + l.search; + var r = l.pathname + l.search; if(q.length !== 0) { var s = l.search ? (l.search === '?' ? '' : '&') : '?'; r = l.pathname + l.search + s + q; |
