Golang Choked by JavaScript Spec URL Percent Encoding

By Xah Lee. Date: .

golang choked by JavaScript spec

golang choked by js spec 2018-08-29 1829e
golang choked by JavaScript spec.

the issue is, JavaScript spec contain links like this

<a href="ECMA-262_6th_Edition.html#sec-%typedarray%-intrinsic-object">22.2.1</a>

and golang url parser chokes on that, saying it's invalid percent encoding. Now, you want to know which fuck fucked it up. and fuck the programer fucks in industry.

note, probably ecma is incorrect there. also, url percent encoding spec is extremely complex. browser don't agree on it. the spec is prob wrong too.

imagine, a doc from standard org creates invalid doc. Note, back then, all docs of w3c or RFC are invalid html. you can see stories at History of Web Tech and Anti Hacker y2k Anti Hacker y2k