vscode-azurestorage
vscode-azurestorage copied to clipboard
An error occurs when executing "Download by SAS Url..." for a blob which name contains a space
OS: Win10 Build Version: 20230703.1 Regression: Not a regression
Repro steps:
- Create a storage account -> Create a blob container.
- Right click the blob container -> Click "Create Empty Blob..." -> Type "a a".
- Right click the blob -> Click "Generate & Copy SAS Token and URL".
- F1 -> Azure Storage: Download by SAS Url... -> Select a folder -> Enter.
- Check whether succeeds to download the blob.
Expect: Succeed to download the blob.
Actual:
An error occurs.
More Info:
This issue also reproduces for file share.
We may have to encode the string so special characters doesn't screw this up.
This issue also reproduces for the empty blob/empty file named with GB18030 language.
Verified this issue in latest build 20240611.1, this issue still reproduces.