diff options
| author | Nasreddin (bon) <bon@odoo.com> | 2020-05-28 17:03:23 +0000 |
|---|---|---|
| committer | Nasreddin (bon) <bon@odoo.com> | 2020-05-29 15:23:09 +0000 |
| commit | 31b9c40124e4bdcae1d35afb27714e332787b6e9 (patch) | |
| tree | 5ded6f363aaafce39911e4cde9522fbede32671c /addons/mail/static/src/models/thread_cache/thread_cache.js | |
| parent | fe250e609c74f0502bcb0e34a65e360d1bc6f65f (diff) | |
[FIX] website : Wrong 308 redirect
Issue
- Install "Website" app
- Go to Website->Configuration->Redirect
- Click on Create
- Set "Action" to 308
- Set "Url to" to nothing or any url
with no leading '/'
The DB is broken.
Error in 'werkzeug' python library.
Cause
Missing leading slash in url or empty url.
Solution
Add a counstraint to check if url is valid (not empty and
with a leading slash).
opw-2266935
closes odoo/odoo#52189
X-original-commit: fe1e76638132197ef4804d1261fb5b9e23d44159
Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/mail/static/src/models/thread_cache/thread_cache.js')
0 files changed, 0 insertions, 0 deletions
