fix: parsing multipart uploadID under site replicated setup (#16048)

continue the fix from #16034
This commit is contained in:
Poorna
2022-11-10 16:17:45 -08:00
committed by GitHub
parent 4fe9cbb973
commit e32b948a49
2 changed files with 2 additions and 2 deletions

View File

@@ -122,7 +122,7 @@ func writeDataBlocks(ctx context.Context, dst io.Writer, enBlocks [][]byte, data
// returns deploymentID from uploadID
func getDeplIDFromUpload(uploadID string) (string, error) {
uploadBytes, err := base64.StdEncoding.DecodeString(uploadID)
uploadBytes, err := base64.RawURLEncoding.DecodeString(uploadID)
if err != nil {
return "", fmt.Errorf("error parsing uploadID %s (%w)", uploadID, err)
}