diff options
| author | Xavier Morel <xmo@odoo.com> | 2019-08-29 07:06:03 +0000 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2019-10-01 13:26:34 +0000 |
| commit | 18e3f8405a7b9d724f76ffcd07bbc56d194ccd9a (patch) | |
| tree | 565e04460334d160769a0248139fc4ebc2aac90c /doc/reference/javascript_api.rst | |
| parent | 780c85718491c93df89cff891ea6eacee8b4ce6f (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 'doc/reference/javascript_api.rst')
0 files changed, 0 insertions, 0 deletions
