Convert all url usages to use the Uri class instead of raw strings.
authorpkanavos <pkanavos@gmail.com>
Fri, 14 Sep 2012 11:29:23 +0000 (14:29 +0300)
committerpkanavos <pkanavos@gmail.com>
Fri, 14 Sep 2012 11:29:23 +0000 (14:29 +0300)
commitd7288179638247cb10a9abec6f85503d1c72315f
treef7a6a3474250d32ae89045b130c3d8053f81d085
parentd5617d4f6182853060bfa2bc665e341834e23768
Convert all url usages to use the Uri class instead of raw strings.
Local paths and names are always escaped when converted to Uris, but only then.
Uris converted to local file paths are always unescaped and only then.
Deserialization of Json object list escapes the paths because the server returns the urls unescaped
34 files changed:
trunk/Pithos.Client.WPF/FileProperties/ContainerPropertiesViewModel.cs
trunk/Pithos.Client.WPF/FileProperties/FilePropertiesViewModel.cs
trunk/Pithos.Client.WPF/Preferences/AccountViewModel.cs
trunk/Pithos.Client.WPF/Preferences/AddAccountViewModel.cs
trunk/Pithos.Client.WPF/Preferences/PreferencesViewModel.cs
trunk/Pithos.Client.WPF/SelectiveSynch/DirectoryRecord.cs
trunk/Pithos.Client.WPF/SelectiveSynch/SelectiveSynchViewModel.cs
trunk/Pithos.Client.WPF/Shell/ShellViewModel.cs
trunk/Pithos.Client.WPF/Utils/SelectiveExtensions.cs
trunk/Pithos.Core/Agents/CloudTransferAction.cs
trunk/Pithos.Core/Agents/DeleteAgent.cs
trunk/Pithos.Core/Agents/Downloader.cs
trunk/Pithos.Core/Agents/FileAgent.cs
trunk/Pithos.Core/Agents/PollAgent.cs
trunk/Pithos.Core/Agents/StateTuple.cs
trunk/Pithos.Core/Agents/StatusAgent.cs
trunk/Pithos.Core/Agents/Uploader.cs
trunk/Pithos.Core/FileState.cs
trunk/Pithos.Core/LocalFileComparer.cs
trunk/Pithos.Core/PithosMonitor.cs
trunk/Pithos.Interfaces/AccountSettings.cs
trunk/Pithos.Interfaces/FileInfoExtensions.cs
trunk/Pithos.Interfaces/ObjectInfo.cs
trunk/Pithos.Interfaces/PermissionConverter.cs
trunk/Pithos.Interfaces/Pithos.Interfaces.csproj
trunk/Pithos.Network.Test/ChecksumTest.cs
trunk/Pithos.Network.Test/CloudFilesClientTest.cs
trunk/Pithos.Network/AccountInfo.cs
trunk/Pithos.Network/CloudFilesClient.cs
trunk/Pithos.Network/ContainerInfo.cs
trunk/Pithos.Network/ICloudClient.cs
trunk/Pithos.Network/NoModificationInfo.cs
trunk/Pithos.Network/RestClient.cs
trunk/Pithos.Network/WebExtensions.cs