1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-27 02:12:26 +01:00

Closes issue #775.

This commit is contained in:
Kris Maglione
2012-02-04 09:31:50 -05:00
parent f30053555e
commit 2a154ebd7b
2 changed files with 2 additions and 2 deletions

View File

@@ -345,7 +345,7 @@ var Bookmarks = Module("bookmarks", {
catch (e) {}
if (charset)
var encodedParam = escape(window.convertFromUnicode(charset, param));
var encodedParam = escape(window.convertFromUnicode(charset, param)).replace(/\+/g, encodeURIComponent);
else
encodedParam = bookmarkcache.keywords[keyword.toLowerCase()].encodeURIComponent(param);

View File

@@ -42,7 +42,7 @@ update(Bookmark.prototype, {
if (!this.charset || this.charset === "UTF-8")
return encodeURIComponent(str);
let conv = services.CharsetConv(this.charset);
return escape(conv.ConvertFromUnicode(str) + conv.Finish());
return escape(conv.ConvertFromUnicode(str) + conv.Finish()).replace(/\+/g, encodeURIComponent);
},
get folder() {