Comment

Comment by f311a

Unfortunately, simple URL parsing breaks on so many things. There is a reason on why every URL parsing library is at least a few thousand LOCs.

One common way to test it is just to pass ipv6 url: http://[f021:d981:b487:e57d:193e:550e::]/

parent f311a 2 months ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton