Revision 15f105cd
b/trunk/Pithos.Network/CloudFilesClient.cs | ||
---|---|---|
265 | 265 |
Token = token; |
266 | 266 |
|
267 | 267 |
//Get the root address (StorageUrl without the account) |
268 |
var usernameIndex=storageUrl.LastIndexOf(UserName); |
|
269 |
var rootUrl = storageUrl.Substring(0, usernameIndex); |
|
268 |
//var usernameIndex=storageUrl.LastIndexOf(UserName);
|
|
269 |
var rootUrl = storageUrl;//.Substring(0, usernameIndex);
|
|
270 | 270 |
RootAddressUri = new Uri(rootUrl); |
271 | 271 |
|
272 | 272 |
|
Also available in: Unified diff