News for hackers. Stuff that matters.
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