Revision 259d316d trunk/Pithos.Network/CloudFilesClient.cs

b/trunk/Pithos.Network/CloudFilesClient.cs
167 167
            _userCatalogUrl = "https://pithos.okeanos.io/user_catalogs";
168 168
            //Get the root address (StorageUrl without the account)
169 169
            var storageUrl = StorageUrl.AbsoluteUri;
170
            var usernameIndex = storageUrl.LastIndexOf(UserName);
171
            var rootUrl = storageUrl.Substring(0, usernameIndex);
172
            RootAddressUri = new Uri(rootUrl);
170
            //var usernameIndex = storageUrl.LastIndexOf(UserName);
171
            //var rootUrl = storageUrl.Substring(0, usernameIndex);
172
//            RootAddressUri = new Uri(rootUrl);
173
            RootAddressUri = new Uri(storageUrl);
173 174

  
174 175
            var httpClientHandler = new HttpClientHandler
175 176
            {

Also available in: Unified diff