test: add skips check YML, remove old skips, add new issues

This commit is contained in:
Luke McCrone
2025-12-22 15:16:58 -03:00
parent b15e03d154
commit 5d8d054fdc
18 changed files with 224 additions and 200 deletions
+1 -1
View File
@@ -245,7 +245,7 @@ func (s *S3Command) addHeaderValues() error {
}
sort.Slice(s.headerValues,
func(i, j int) bool {
return s.headerValues[i][0] < s.headerValues[j][0]
return strings.ToLower(s.headerValues[i][0]) < strings.ToLower(s.headerValues[j][0])
})
return nil
}
@@ -50,7 +50,7 @@ func (s *StreamingUnsignedPayloadWithTrailer) GetContentLength() (int64, error)
if s.omitTrailer {
trailerLength = 4
} else if s.omitTrailerKey {
trailerLength = 1 + checksumValueLength + 4
trailerLength = 3 + checksumValueLength + 4
} else {
trailerLength = 2 + int64(len(s.checksumHeader)) + 1 + checksumValueLength + 4
}