Fixing folder names resolution in Azure

--HG--
branch : dev
This commit is contained in:
Sebastien Ros
2010-12-13 16:24:10 -08:00
parent 564036994d
commit c151fefa93

View File

@@ -29,7 +29,7 @@ namespace Orchard.Azure {
_storageAccount = storageAccount;
ContainerName = containerName;
_root = String.IsNullOrEmpty(root) ? "": root + "/";
_absoluteRoot = _storageAccount.BlobEndpoint.AbsoluteUri + "/" + containerName + "/" + root;
_absoluteRoot = Combine(Combine(_storageAccount.BlobEndpoint.AbsoluteUri, containerName), root);
using ( new HttpContextWeaver() ) {