Revision 3c76f045 trunk/Pithos.Interfaces/ObjectInfo.cs
b/trunk/Pithos.Interfaces/ObjectInfo.cs | ||
---|---|---|
124 | 124 |
throw new ArgumentNullException("fileInfo"); |
125 | 125 |
Contract.EndContractBlock(); |
126 | 126 |
|
127 |
var relativeUrl = fileInfo.AsRelativeUrlTo(accountPath); |
|
127 |
var relativeUrl = fileInfo.WithProperCapitalization().AsRelativeUrlTo(accountPath);
|
|
128 | 128 |
//The first part of the URL is the container |
129 | 129 |
var slashIndex = relativeUrl.IndexOf('/'); |
130 | 130 |
var container = relativeUrl.Substring(0, slashIndex); |
Also available in: Unified diff