Fix bug: encode blob name (#655)
This commit is contained in:
parent
41996ea98f
commit
7584c208ab
@ -27,8 +27,8 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
{
|
||||
auto parsedConnectionString = Details::ParseConnectionString(connectionString);
|
||||
auto blobUri = std::move(parsedConnectionString.BlobServiceUri);
|
||||
blobUri.AppendPath(containerName, true);
|
||||
blobUri.AppendPath(blobName, true);
|
||||
blobUri.AppendPath(containerName);
|
||||
blobUri.AppendPath(blobName);
|
||||
|
||||
if (parsedConnectionString.KeyCredential)
|
||||
{
|
||||
|
||||
@ -23,7 +23,7 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
{
|
||||
auto parsedConnectionString = Details::ParseConnectionString(connectionString);
|
||||
auto containerUri = std::move(parsedConnectionString.BlobServiceUri);
|
||||
containerUri.AppendPath(containerName, true);
|
||||
containerUri.AppendPath(containerName);
|
||||
|
||||
if (parsedConnectionString.KeyCredential)
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user