Copy-source property can be stored un-encoded in the blob storage. We need to encode the property while reading it so that getBlobAttributes is not throwing an exception in such a case.
To reproduce the bug:
Create a file in the blob storage with a space in the filename.
Copy-source property can be stored un-encoded in the blob storage. We need to encode the property while reading it so that
getBlobAttributes
is not throwing an exception in such a case.To reproduce the bug:
CloudBlob.downloadAttributes
on the copied file.