summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2016-07-25 11:38:52 +0200
committerOlivier Dony <odo@openerp.com>2016-07-25 13:05:01 +0200
commit01acb8a497317162770df1a29e0236ae7d8f58bc (patch)
tree3019626ef636f5b9f482a52a201c6d80bb3c6041 /doc
parent3ff242ec0c48125c958d5c512e942cce73effe76 (diff)
[FIX] base: fix broken URLs when redirecting
Similarly to werkzeug.urls.url_fix(), attempt to correct some leftover special characters that should have been URL-encoded. We cannot actually use `werkzeug.urls.url_fix` or `werkzeug.urls.url_quote`, as they expect more/most characters to be un-encoded. We have many existing cases where the redirect URL is already fully encoded or mostly encoded, and those functions would cause double-encoding, breaking the final URL.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions