summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2019-08-29 07:06:03 +0000
committerXavier Morel <xmo@odoo.com>2019-10-01 13:26:34 +0000
commit18e3f8405a7b9d724f76ffcd07bbc56d194ccd9a (patch)
tree565e04460334d160769a0248139fc4ebc2aac90c /addons/web/static/src/js/fields/basic_fields.js
parent780c85718491c93df89cff891ea6eacee8b4ce6f (diff)
[FIX] core: compatibility with Werkzeug 0.15 ProxyFix
Werkzeug 0.15 modified ProxyFix such that by default it only forwards the REMOTE_ADDR when enabled, whereas before 0.15 it would also forward scheme and host. This breaks proxied odoo as the base url becomes incorrect (cf #34412). Use properly configured ProxyFix when running with werkzeug 0.15, old configuration otherwise. Backport of 4057227def164f3c29c6d5546f1e8572dc0db573 which was merged in master, because many people apparently run 0.15 now. Closes #35085 closes odoo/odoo#36212 closes odoo/odoo#37708 Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions