Azure – BlobClient#generateSasUrl automatically %-encode blob path
const { BlockBlobClient, BlobSASPermissions } = require("@azure/storage-blob"); const blobClient = new BlockBlobClient( "DefaultEndpointsProtocol=https;AccountName=yyyy;AccountKey=xxxx;EndpointSuffix=core.windows.net", "test", "hoge/huga/baz.txt" ); const expiresOn = new Date(); expiresOn.setMinutes(expiresOn.getMinutes() + 5); const h = blobClient.generateSasUrl({ expiresOn, permissions: BlobSASPermissions.from({ read: true })}).then((res) => { console.log(res); }); Executing this…