rclone/backend/azureblob
Nick Craig-Wood c2557cc432 azureblob: fix crash with SAS URL and no container - fixes #5820
Before this change attempting NewObject on a SAS URL's root would
crash the Azure SDK.

This change detects that using the code from this previous fix

f7404f52e7 azureblob: fix crash when listing outside a SAS URL's root - fixes #4851

And returns not object not found instead.

It also prevents things being uploaded to the root of the SAS URL
which also crashes the Azure SDK.
2021-11-27 16:18:18 +00:00
..
azureblob_internal_test.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
azureblob_test.go azureblob: remove 100MB upper limit on chunk_size as it is no longer needed 2021-11-18 16:09:02 +00:00
azureblob_unsupported.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
azureblob.go azureblob: fix crash with SAS URL and no container - fixes #5820 2021-11-27 16:18:18 +00:00
imds_test.go build: apply gofmt from golang 1.17 2021-09-09 20:43:59 +03:00
imds.go Remove github.com/pkg/errors and replace with std library version 2021-11-07 11:53:30 +00:00