mirror of
https://github.com/rclone/rclone
synced 2025-01-08 10:26:23 +01:00
f7404f52e7
Before this change if you attempted to list a remote set up with a SAS URL outside its container then it would crash the Azure SDK. A check is done to make sure the root is inside the container when starting the backend which is usually enough, but when two SAS URL based remotes are mounted in a union, the union backend attempts to read paths outside the named container. This was causing a mysterious crash in the Azure SDK. This fixes the problem by checking to see if the container in the listing is the one in the SAS URL before listing the directory and returning directory not found if it isn't. |
||
---|---|---|
.. | ||
azureblob_internal_test.go | ||
azureblob_test.go | ||
azureblob_unsupported.go | ||
azureblob.go |