]> source.dussan.org Git - rspamd.git/commit
[Fix] When checking for phishing, we need to convert punicode -> UTF8, not vice versa
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 13 Feb 2022 12:56:43 +0000 (12:56 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sun, 13 Feb 2022 12:56:43 +0000 (12:56 +0000)
commitb1bef4702ca704b65bb8d8c19d89fa4f3fd28c49
tree36373c8661b4ca794a1cb073badffb5f9b5f9453
parent192a5fd8bbf150ce515519477b466b3a811e8a30
[Fix] When checking for phishing, we need to convert punicode -> UTF8, not vice versa

Previosly, Rspamd has checked for `xn--` signature just to convert it back to `xn--` form.
According to the expected results, it should do the opposite conversion.

Issue: #4065
src/libserver/html/html_url.cxx