5 ms·
> It is recommended to place IPv4 and IPv6 addresses into brackets: I tried doing this, and my brower(s) just assumed it was a search string, and took me to my
by codepoet80 3y ago
> It is recommended to place IPv4 and IPv6 addresses into brackets:
I tried doing this, and my brower(s) just assumed it was a search string, and took me to my search engine.
Does that mean they're not following the RFC? (section 3.2.2 of RFC3896)
Should I file a bug with Mozilla?
- SethMLarson 3y agoThe post is incorrect, only IPv6 addresses are meant to be put in brackets.
- codepoet80 3y agoYou are correct, reading the RFC just a little further than my ctrl+f found: > A host identified by an Internet Protocol literal address, version 6 [RFC3513] or later, is distinguished by enclosing the IP literal within square brackets ("[" and "]").
- recursive 3y agoAnd in that case, the square brackets are not only recommended; they are required.
- whatbackup 3y agoAuthor here; you guys are right! - I've corrected it. Thank you