all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#54624: 29.0.50; textsec and ipv6 addresses
@ 2022-03-29 12:36 Aleksandr Vityazev
  2022-03-29 15:12 ` Lars Ingebrigtsen
  2022-04-03 16:53 ` Mattias Engdegård
  0 siblings, 2 replies; 23+ messages in thread
From: Aleksandr Vityazev @ 2022-03-29 12:36 UTC (permalink / raw)
  To: 54624


Hi,

in small networks people sometimes use not domain names, but only ipv6
addresses. If (setq textsec-check t), wich is also the default, all such links
are displayed as suspicious. ipv6 addresses contain colons and sometimes
left/right square brackets. Example:

#+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?


-- 
Best regards,
Aleksandr Vityazev





^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2022-04-11 15:34 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-29 12:36 bug#54624: 29.0.50; textsec and ipv6 addresses Aleksandr Vityazev
2022-03-29 15:12 ` Lars Ingebrigtsen
2022-04-03 16:53 ` Mattias Engdegård
2022-04-03 16:58   ` Andreas Schwab
2022-04-03 17:04     ` Mattias Engdegård
2022-04-03 17:07       ` Lars Ingebrigtsen
2022-04-03 17:09         ` Lars Ingebrigtsen
2022-04-03 17:02   ` Lars Ingebrigtsen
2022-04-03 17:16     ` Mattias Engdegård
2022-04-03 17:49       ` Andreas Schwab
2022-04-04 10:42       ` Lars Ingebrigtsen
2022-04-04 12:48         ` Mattias Engdegård
2022-04-04 13:33           ` Robert Pluim
2022-04-06  9:19           ` Lars Ingebrigtsen
2022-04-06 13:28             ` Mattias Engdegård
2022-04-07 11:04               ` Lars Ingebrigtsen
2022-04-07 17:18                 ` Mattias Engdegård
2022-04-07 22:13                   ` Andreas Schwab
2022-04-08  9:08                     ` Mattias Engdegård
2022-04-08  9:18                       ` Andreas Schwab
2022-04-08  9:25                         ` Mattias Engdegård
2022-04-11 14:29                 ` Mattias Engdegård
2022-04-11 15:34                   ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.