News for hackers. Stuff that matters.
Re:Securing cookies in Go by regecks on Friday September 14, 2018 @02:52AM (#17985193)
Whoever wrote that part of the net/http package probably wanted `Cookie` to fulfill the `Stringer` interface, so the compromise was to use an empty string.

Mildly reminiscent of x/crypto/acme/autocert only having supported TLS-SNI because it made for more elegant code and the other methods didn't, but that's probably too cynical an interpretation.

There are no comments on this comment yet.