Skip to content

Commit

Permalink
change sanitization order (#7839)
Browse files Browse the repository at this point in the history
  • Loading branch information
yonipeleg33 authored Jun 9, 2024
1 parent 7ef5337 commit 237aaac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions esti/lakectl_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,12 @@ func sanitize(output string, vars map[string]string) string {
if _, ok := vars["DATE"]; !ok {
s = normalizeProgramTimestamp(s)
}
s = normalizeCommitID(s)
s = normalizeChecksum(s)
s = normalizeShortCommitID(s)
s = normalizeEndpoint(s, vars["LAKEFS_ENDPOINT"])
s = normalizePreSignURL(s) // should be after storage and endpoint to enable non pre-sign url on azure
s = normalizeRandomObjectKey(s, vars["STORAGE"]) // should be after pre-sign on azure in order not to break the pre-sign url
s = normalizeCommitID(s)
s = normalizeChecksum(s)
s = normalizeShortCommitID(s)
return s
}

Expand Down

0 comments on commit 237aaac

Please sign in to comment.