News for hackers. Stuff that matters.
Re:Better HTTP server routing in Go 1.22 by drdaeman on Monday October 16, 2023 @04:37PM (#37906209)
Ideally, this should be the default behavior, i.e. "/foo/" matching only "/foo/" and nothing else. And if one wants a prefix they should be able to explicitly spell it out like "/foo/{**}".

But that’s not backwards-compatible, sadly, so this is going to remain a historical wart.

There are no comments on this comment yet.