2026-03-31 16:58:42: merge [main:8b672bdd308ebb53d48d75a6a5bfbdb7ea8d7ddd];
Create and publish a Docker image / build-and-push-image (push) Canceled after 0s

This commit is contained in:
txix committed 2026-03-31 16:58:43 +03:00
1 parent 011a1d7048
commit 7de248e63c
3 files changed
+4 -2

No files matched your search

+1 -1
View File
@@ -1 +1 @@
5.9.2
5.9.3
+2
View File
@@ -1,3 +1,5 @@
### v5.9.3
* Исправлена опечатка при вызове `strings.TrimPrefix`
### v5.9.2
* При проверке `logging.skipBodyLoggingEndpointPrefixes` игнорируется `/` в начале, путь для проверки берётся из `pathSchema`, если `pathSchema` пустая, берётся вызываемый `endpoint`
* В логе `log request` из значения в поле `endpoint` удаляется `/` в начале, путь берётся из `pathSchema`, если `pathSchema` пустая, берётся вызываемый `endpoint`
+1 -1
View File
@@ -69,7 +69,7 @@ func Logger( // nolint:gocognit,funlen
if ctx.EndpointMeta().PathSchema != "" {
endpoint = ctx.EndpointMeta().PathSchema
}
strings.TrimPrefix(endpoint, "/")
endpoint = strings.TrimPrefix(endpoint, "/")
logBodyFromCurrenRequest := enableBodyLogging
if logBodyFromCurrenRequest {