[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54624: 29.0.50; textsec and ipv6 addresses
From: |
Lars Ingebrigtsen |
Subject: |
bug#54624: 29.0.50; textsec and ipv6 addresses |
Date: |
Tue, 29 Mar 2022 17:12:13 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Aleksandr Vityazev <avityazev@posteo.org> writes:
> #+begin_src elisp
> (textsec-domain-suspicious-p "21a:34aa:c782:3ad2:1bf8:73f8:141:66e8")
> => "Disallowed character: : (#x3a, COLON)"
> (textsec-domain-suspicious-p "[21a:34aa:c782:3ad2:1bf8:73f8:141:66e8]")
> => "Disallowed character: [ (#x5b, LEFT SQUARE BRACKET)"
> #+end_src
>
> I think it is not entirely correct. It may be possible to add additional
> validation for such addresses in the textsec-domain-suspicious-p function.
> WDYT?
Yup; I've now done so in Emacs 29.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no