Fix body-skip matching for prefixes with leading slash
This commit is contained in:
1 parent
34e3ef7687
commit
8012ad57fe
3 files changed
+203
-1
No files matched your search
+1
-1
@@ -136,7 +136,7 @@ func (l Locator) Handler(config conf.Remote, locations []conf.Location) (http.Ha
|
||||
middleware.Logger(
|
||||
l.logger, config.Logging.RequestLogEnable,
|
||||
enableBodyLog,
|
||||
config.Logging.SkipBodyLoggingEndpointPrefixes,
|
||||
skipBodyLoggingEndpointPrefixes,
|
||||
config.Logging.EnableForceUnescapingUnicode,
|
||||
),
|
||||
middleware.RequestId(),
|
||||
|
||||
Reference in new issue
Block a user