Re:Securing cookies in Go
by jorams on Friday September 14, 2018 @08:31AM
(#17986700)
> Not requiring explicit parameters for things like domain, etc in this day and age is just ridiculous.
While I agree with the sentiment, domain is probably the worst possible example, because it defaults to the most specific possible configuration of "exactly the same domain".
Re:Securing cookies in Go
by elithrar on Friday September 14, 2018 @09:34AM
(#17987040)
Correct; the same goes for Path, which is often a fun bug for many newer web programmers when they set the cookie on '/login' and then wonder why the cookie isn't being passed on '/store' or even '/'.
While I agree with the sentiment, domain is probably the worst possible example, because it defaults to the most specific possible configuration of "exactly the same domain".