[tomboy] Bug 679148 - Should trim trailing / in WebSyncPreferencesWidge. Thanks to Roman Yepishev for providi
- From: Jared L Jennings <jjennings src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tomboy] Bug 679148 - Should trim trailing / in WebSyncPreferencesWidge. Thanks to Roman Yepishev for providi
- Date: Fri, 29 Jun 2012 16:06:34 +0000 (UTC)
commit 874b61d4de5dec081603a503674399b40399ebaf
Author: Jared Jennings <jjennings src gnome org>
Date: Fri Jun 29 12:06:22 2012 -0400
Bug 679148 - Should trim trailing / in WebSyncPreferencesWidge.
Thanks to Roman Yepishev for providing this patch.
Launchpad Bug 1019256
Ubuntu One has recently switched to a more strict path checking.
This breaks the follow URL https://one.ubuntu.com/notes/
Tomboy tries to access https://one.ubuntu.com/notes//api/1.0.
.../WebSyncService/WebSyncPreferencesWidget.cs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/Tomboy/Addins/WebSyncService/WebSyncPreferencesWidget.cs b/Tomboy/Addins/WebSyncService/WebSyncPreferencesWidget.cs
index 45d0de9..a8ce4c3 100644
--- a/Tomboy/Addins/WebSyncService/WebSyncPreferencesWidget.cs
+++ b/Tomboy/Addins/WebSyncService/WebSyncPreferencesWidget.cs
@@ -111,7 +111,7 @@ namespace Tomboy.WebSync
if (Auth == null)
Auth = new Api.OAuth ();
- string rootUri = Server + "/api/1.0";
+ string rootUri = Server.TrimEnd('/') + "/api/1.0";
try {
RootInfo root = RootInfo.GetRoot (rootUri, new Api.AnonymousConnection ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]