diff options
| author | Didier (did) <did@odoo.com> | 2021-04-01 10:47:47 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2021-04-01 17:50:46 +0000 |
| commit | d825f88d96f2cc7abffe2c2d750891966cfcdd43 (patch) | |
| tree | 9e067f80f816646e1b19cc1217f5ba9b72d41234 /addons/auth_oauth/data/auth_oauth_data.xml | |
| parent | 26976764554af3016097f1659b563e75757148e3 (diff) | |
[FIX] mail: detect a bigger range of URL in messages
Current URL regexp doesn't support special, but still valid, character like `é`,
`è`, `ỗ`, `ặ`, etc.
Url like `https://tenor.com/view/chỗgiặt-dog-smile-gif-13860250` are not going
to be matched correctly.
This commit adds the support for Latin-1 Supplement, Latin Extended-A,
Latin Extended-B and Latin Extended Additional unicode.
Some relevant stackoverflow discussion:
https://stackoverflow.com/questions/20690499/concrete-javascript-regex-for-accented-characters-diacritics
task-2088895
closes odoo/odoo#68667
X-original-commit: 1f9c171115d8bbd81d382e353f3faadab16aedfc
Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
Diffstat (limited to 'addons/auth_oauth/data/auth_oauth_data.xml')
0 files changed, 0 insertions, 0 deletions
