go-safeweb icon indicating copy to clipboard operation
go-safeweb copied to clipboard

Rename "Dispatcher"

Open empijei opened this issue 3 years ago • 1 comments

Currently "Dispatcher" conveys the meaning of something that moves the responses to the output, that dispatches Write calls to response writers.

What it does not convey is that it has to be secure, to be a "guard" against vulnerabilities.

We should find a better name for this very important type that adds that meaning before we release this.

I would propose something like "Guard" or "CheckWriter" or "GateKeeper".

empijei avatar Apr 16 '21 10:04 empijei

SafeResponseWriter?

kele avatar Apr 19 '21 20:04 kele