rclone/backend
Nick Craig-Wood f7404f52e7 azureblob: fix crash when listing outside a SAS URL's root - fixes #4851
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.
2020-12-27 15:55:00 +00:00
..
alias alias: fix tests after parsing of ... change #4862 2020-12-21 18:23:16 +00:00
all filefabric: Implement the Enterprise File Fabric backend 2020-11-25 21:11:29 +00:00
amazonclouddrive fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
azureblob azureblob: fix crash when listing outside a SAS URL's root - fixes #4851 2020-12-27 15:55:00 +00:00
b2 b2: Make NewObject use less expensive API calls 2020-12-09 20:00:22 +00:00
box box: fix NewObject for files that differ in case #4830 2020-12-07 17:38:22 +00:00
cache fs: add Shutdown optional method for backends 2020-11-27 17:35:01 +00:00
chunker chunker: set Features.ReadMimeType=false as Object.MimeType not supported 2020-11-29 17:22:43 +00:00
compress compress: fix broken tests 2020-12-02 16:30:02 +01:00
crypt fs: add Shutdown optional method for backends 2020-11-27 17:35:01 +00:00
drive drive: allow shortcut resolution and creation to be retried 2020-12-02 15:28:38 +00:00
dropbox dropbox: enable short lived access tokens #4792 2020-12-02 16:50:16 +00:00
fichier fichier: set Features.ReadMimeType=true as Object.MimeType is supported 2020-11-29 17:22:43 +00:00
filefabric filefabric: set Features.Read/WriteMimeType as both supported 2020-11-29 17:22:43 +00:00
ftp fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
googlecloudstorage gcs: Storage class object header support - fixes #3043 2020-12-10 20:06:49 +00:00
googlephotos fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
http fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
hubic fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
jottacloud jottacloud: don't erroniously report support for writing mime types - fixes #4817 2020-11-29 18:11:43 +01:00
koofr fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
local local: continue listing files/folders when a circular symlink is detected 2020-11-12 11:32:55 +00:00
mailru fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
mega fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
memory azureblob,memory,pcloud: fix setting of mime types 2020-11-27 14:40:05 +00:00
onedrive fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
opendrive fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
pcloud azureblob,memory,pcloud: fix setting of mime types 2020-11-27 14:40:05 +00:00
premiumizeme fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
putio fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
qingstor fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
s3 s3: add requester pays option - fixes #301 2020-12-27 15:43:44 +00:00
seafile fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
sftp sftp: implement Shutdown method 2020-11-27 17:35:01 +00:00
sharefile fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
sugarsync sugarsync: fix NewObject for files that differ in case #4830 2020-12-07 17:38:22 +00:00
swift fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
tardigrade config: add context.Context #3257 #4685 2020-11-09 18:05:54 +00:00
union fs: add Shutdown optional method for backends 2020-11-27 17:35:01 +00:00
webdav fshttp: read config from ctx not passed in ConfigInfo #4685 2020-11-26 16:40:12 +00:00
yandex yandex: set Features.WriteMimeType=false as Yandex ignores mime types 2020-11-29 17:22:43 +00:00