linkifyjs icon indicating copy to clipboard operation
linkifyjs copied to clipboard

IP address support

Open shrimalmadhur opened this issue 10 years ago • 3 comments

I guess IP addresses like http://143.345.33.44:8181 should also be supported. Are you guys planning for that?

shrimalmadhur avatar May 21 '14 11:05 shrimalmadhur

When this gets implemented it should exclude addresses reserved for private networks (https://en.wikipedia.org/wiki/IPv4#Private_networks). Looking forward to the addition of this feature.

un1c0rnr1d3r avatar Feb 22 '16 19:02 un1c0rnr1d3r

it looks to me that IP addresses are implemented already when http:// is before them...

Rejpal avatar Aug 30 '16 19:08 Rejpal

@Rejpal It seems like currenlty only IPv4 Addresses with a http(s) prefix are recognized. IPv6 Support seems to be missing completely:

image Tested with the demo and the following list:

https://1.1.1.1/ https://1.1.1.1:443/ https://[2606:4700:4700::1111]/ https://[2606:4700:4700::1111]:443/

Supporting IPv6 with a http(s) prefix would be really nice. @nfrasser But maybe this should be dealt with in a seperate issue? Especially since this seems more like a core functionality than something for a plugin, like the free-floating IP address detection which seems to be goal of this issue (even in contrast to the intial comment)?

herbetom avatar Dec 27 '21 22:12 herbetom

Long overdue but happy to report that bare IPv4 and prefixed IPv6 addresses are now supported in the latest v4 release via the ip plugin (docs here). Thanks all for your contributions!

nfrasser avatar Sep 19 '22 03:09 nfrasser