Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-09-29 16:01:54 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-09-29 16:01:54 +0300
commitd8811450e870f6bbd7b7d7990aa51e35b0c607ce (patch)
treeadb5eec77e921128da436fd7eb98c28795b8fe46 /workhorse
parentc926588c9def57f8be7331b81f8823d5bae85f34 (diff)
Add latest changes from gitlab-org/security/gitlab@14-2-stable-ee
Diffstat (limited to 'workhorse')
-rw-r--r--workhorse/internal/artifacts/entry.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/workhorse/internal/artifacts/entry.go b/workhorse/internal/artifacts/entry.go
index 91a0843f1ee..d5b3dfb672c 100644
--- a/workhorse/internal/artifacts/entry.go
+++ b/workhorse/internal/artifacts/entry.go
@@ -14,6 +14,7 @@ import (
"syscall"
"gitlab.com/gitlab-org/labkit/log"
+ "gitlab.com/gitlab-org/labkit/mask"
"gitlab.com/gitlab-org/gitlab/workhorse/internal/helper"
"gitlab.com/gitlab-org/gitlab/workhorse/internal/senddata"
@@ -35,7 +36,7 @@ func (e *entry) Inject(w http.ResponseWriter, r *http.Request, sendData string)
log.WithContextFields(r.Context(), log.Fields{
"entry": params.Entry,
- "archive": params.Archive,
+ "archive": mask.URL(params.Archive),
"path": r.URL.Path,
}).Print("SendEntry: sending")