diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2018-01-30 16:35:24 +0100 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2018-01-31 09:20:13 +0100 |
| commit | 8b97a39907c13c257240f3849de382be9272ddee (patch) | |
| tree | f19ff2e2b2892f178c792a32fd1bd79de9861630 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | c52b18e65f49df6da97e21b28f8d7dc6e6edc2a0 (diff) | |
[FIX] mail_template: replace local links except mailto
Before this commit, all the mailto:xx@ww.com in emails were transformed into
http://web.base.url/xx@ww.com
This was due to the url parsing of werkzeug urls.py, which definitely get the scheme
(mailto), but doesn't get the netloc of the url -- because it has no //
Ater this commit, we transform links to local ones, except if the scheme is mailto,
and the issue disappears.
OPW 807795
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
