Commit 08c4b1fa authored by Alessio Caiazza's avatar Alessio Caiazza

Merge branch 'security-workhorse-validate-path-logging-removal' into 'master'

Workhorse: Stop logging when path is excluded

See merge request gitlab-org/security/gitlab!1280
parents 2a34ce38 9e0b45a4
---
title: 'Workhorse: Stop logging when path is excluded'
merge_request:
author:
type: security
# Changelog for gitlab-workhorse
## v8.64.2
### Security
- Stop logging when path is excluded
https://gitlab.com/gitlab-org/gitlab-workhorse/-/merge_requests/
## v8.64.1
### Security
......
......@@ -37,7 +37,6 @@ func (s *Static) ServeExisting(prefix urlprefix.Prefix, cache CacheMode, notFoun
// %20 in their name.
relativePath, err := s.validatePath(prefix.Strip(r.URL.Path))
if err != nil {
log.WithRequest(r).WithError(err).Error()
notFoundHandler.ServeHTTP(w, r)
return
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment