News for hackers. Stuff that matters.
Re:URL Explained – The Fundamentals by codepoet80 on Monday November 13, 2023 @02:47PM (#38254404)
> 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?

Re:URL Explained – The Fundamentals by SethMLarson on Monday November 13, 2023 @02:48PM (#38254418)
The post is incorrect, only IPv6 addresses are meant to be put in brackets.
Re:URL Explained – The Fundamentals by codepoet80 on Monday November 13, 2023 @02:52PM (#38254472)
You 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 "]").

Re:URL Explained – The Fundamentals by recursive on Monday November 13, 2023 @05:14PM (#38256109)
And in that case, the square brackets are not only recommended; they are required.
Re:URL Explained – The Fundamentals by whatbackup on Monday November 13, 2023 @09:20PM (#38258157)
Author here; you guys are right! - I've corrected it. Thank you