linkify icon indicating copy to clipboard operation
linkify copied to clipboard

ipv6 support

Open Robitx opened this issue 1 year ago • 1 comments

Hey, I've noticed that IPv6 URLs with bracket notation (specified in https://datatracker.ietf.org/doc/html/rfc2732#section-2 ) are not properly detected.

      http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html
      http://[1080:0:0:0:8:800:200C:417A]/index.html
      http://[3ffe:2a00:100:7031::1]
      http://[1080::8:800:200C:417A]/foo
      http://[::192.9.5.5]/ipng
      http://[::FFFF:129.144.52.38]:80/index.html
      http://[2010:836B:4179::836B:4179]

Robitx avatar Jun 20 '24 10:06 Robitx

Yeah, I wasn't sure if anyone was actually using those. Happy to review a PR to add these if it's not too difficult.

robinst avatar Sep 27 '25 06:09 robinst