Remix.run Logo
ghhhibhc 2 hours ago

Nothing is more idiomatic Go than ignoring inconvenient edge cases.

pavon 2 hours ago | parent | next [-]

Who says Go's handling of the corner case is incorrect? The original IPv6 RFCs didn't address the case at all. Then in 2013 RFC6874[1] clarified that the % in the zone identifier MUST be percent encoded when used in a URI, just like Go requires. Then in 2025 this RFC was obsoleted by RFC 9844, which only talks about UI behavior and says nothing about URIs, basically reverting things back to the undefined state prior to 2013. What a fucking mess.

[1] https://www.rfc-editor.org/info/rfc6874/

[2] https://www.rfc-editor.org/info/rfc9844/

contingencies 2 hours ago | parent | prev [-]

Added to https://github.com/globalcitizen/taoup/