Subject: bug#54624: 29.0.50; textsec and ipv6 addresses

From: Mattias Engdegård <[email-masked]>
Date: Sun, 3 Apr 2022 19:16:25 +0200

3 apr. 2022 kl. 19.02 skrev Lars Ingebrigtsen <[email-masked]>:

> The point here isn't to validate an address.  It's to say whether
> there's something suspicious in an URL.
> 
> There's nothing particularly suspicious about an URL that has an invalid
> domain part (in itself).

Fair enough. The reason I'm looking at this is that relint complained about some parts (repeated match of empty string) and indeed the regexps do look a bit inefficient.

Would you mind if I removed some ambiguity from the regexps then? Maybe even simplifying them to "[0-9.]+" and "[0-9a-f:]+" respectively?