Modifications to delete folder contents
[pithos-ms-client] / trunk / Pithos.Interfaces / ObjectInfo.cs
index af80368..fb48a95 100644 (file)
@@ -124,7 +124,7 @@ namespace Pithos.Interfaces
                 throw new ArgumentNullException("fileInfo");
             Contract.EndContractBlock();
 
-            var relativeUrl = fileInfo.AsRelativeUrlTo(accountPath);
+            var relativeUrl = fileInfo.WithProperCapitalization().AsRelativeUrlTo(accountPath);
             //The first part of the URL is the container
             var slashIndex = relativeUrl.IndexOf('/');
             var container = relativeUrl.Substring(0, slashIndex);