contrib icon indicating copy to clipboard operation
contrib copied to clipboard

SkipURIs: route parameter support

Open piyongcai opened this issue 1 year ago • 2 comments

In fiberzaplog, fiberzerolog middleware, the configuration item SkipURIs only supports equal to comparison. In fact, many routes have parameters, for URL with routing parameters, cannot be effectively excluded by SkipURIs.

All, SkipURIs need to be set to a regular expression or other routing matching pattern to effectively solve this problem.

I hope this feature will be realized soon.

thanks.

piyongcai avatar May 10 '23 09:05 piyongcai

okay, i didn't notice this feature before, normally it is not needed

Because you can in the Next method which you can pass, his conditions for skipping deposit and also with regex checks perform

ReneWerner87 avatar May 10 '23 10:05 ReneWerner87

Probably deprecate SkipURIs and documentate how to do the same in Next is the best option.

mirusky avatar Aug 31 '23 22:08 mirusky