Closed prsnbrg closed 1 year ago
Other wacky things:
This works for me - I can't find anything wrong so far.
It seems a bit annoying that we have to write a long regex for this sort of thing. But that seems to be the "way it is done" in HTML.
Note: we cannot enter an IPv6 address like 2001:0db8:85a3:0000:0000:8a2e:0370:7334
But that was not possible before this PR either. IPv6 addresses have colons in them (and there are multiple formats that they can be written in. So that is a separate thing, if someone needs to input a literal IPv6 address. (usually I would expect a "normal" hostname that then might lookup in DNS an turn out to be IPv6 to reach that hostname)
@jnweiger please review and merge if you are happy with this.
Kudos, SonarCloud Quality Gate passed!
Fix #523
Tested with different strings: