[FIX] mail: invalid url regex
Since [1], comma can be included in url by the discuss regex. This should not be the case if the comma is at the end of the url/line since it could be part of a sentance. This PR applies the same logic to the dot and the semicolon character since they could also be used as punctuation. [1] https://github.com/odoo/odoo/pull/122093 closes odoo/odoo#122227 Signed-off-by:Sébastien Theys (seb) <seb@odoo.com>
Loading