[tracker/thunderbird-24: 4/4] plugins/thunderbird: Escape folder names in URIs
- From: Adrien Bustany <abustany src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/thunderbird-24: 4/4] plugins/thunderbird: Escape folder names in URIs
- Date: Mon, 10 Feb 2014 08:23:26 +0000 (UTC)
commit 33b4958126f7f62d84bee292bb5713b8de649eb6
Author: Michael Lipp <mnl mnl de>
Date: Mon Feb 10 09:22:25 2014 +0100
plugins/thunderbird: Escape folder names in URIs
.../thunderbird/chrome/content/trackerstore.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/thunderbird/chrome/content/trackerstore.js
b/src/plugins/thunderbird/chrome/content/trackerstore.js
index 2e6c686..505a0c4 100644
--- a/src/plugins/thunderbird/chrome/content/trackerstore.js
+++ b/src/plugins/thunderbird/chrome/content/trackerstore.js
@@ -19,7 +19,7 @@ org.bustany.TrackerBird.TrackerStore = {
storeMessage: function(header, contents) {
var folder = header.folder
- var uri = folder.getUriForMsg(header);
+ var uri = encodeURI(folder.getUriForMsg(header));
var fromEmailAddress;
var toEmailAddresses = [];
@@ -66,7 +66,7 @@ org.bustany.TrackerBird.TrackerStore = {
deleteMessage: function(header) {
var folder = header.folder
- var uri = folder.getUriForMsg(header);
+ var uri = encodeURI(folder.getUriForMsg(header));
var query = "DELETE {<" + uri +"> a rdfs:Resource}";
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]