-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Bug in azure-storage-blob #15919
Copy link
Copy link
Closed
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.StorageStorage Service (Queues, Blobs, Files)Storage Service (Queues, Blobs, Files)bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
Metadata
Metadata
Assignees
Labels
ClientThis issue points to a problem in the data-plane of the library.This issue points to a problem in the data-plane of the library.StorageStorage Service (Queues, Blobs, Files)Storage Service (Queues, Blobs, Files)bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
As shown in model serialization for ContentSettings, the required type for content_md5 is
stras shown below:azure-sdk-for-python/sdk/storage/azure-storage-blob/azure/storage/blob/_models.py
Line 621 in 00c9044
But when uploading, content_md5 needs to be converted to
bytearrayand the following code would cause a bug when converting a string to bytearray.azure-sdk-for-python/sdk/storage/azure-storage-blob/azure/storage/blob/_blob_client.py
Line 382 in 00c9044
This would cause error when uploading with content_md5. Please fix asap.