Exclude trailing colon from autodetected URLs
While .
, ,
, ;
are allowed as part of URLs, they are assumed to be punctuation and not part of the URL if they are the trailing character. This is when automatically detecting URLs using the built-in regexes (i.e. not the OSC 8 hyperlinks).
E.g. if the onscreen contents is See http://example.com/foo. Blabla.
then the autodetected URL is http://example.com/foo
without the trailing dot.
I think :
should also join this team.
On Ubuntu 24.04, with Mozilla's PPA added (because I prefer this over Ubuntu's Firefox snap), a sudo apt-get update
gives this warning:
W: https://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/dists/noble/InRelease: Signature by key 0AB215679C571D1C8325275B9BDB3D89CE49EC21 uses weak algorithm (rsa1024)
(Not that I'd like to open this URL, but still :))