mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-30 00:25:45 +01:00
Closes issue #775.
This commit is contained in:
@@ -345,7 +345,7 @@ var Bookmarks = Module("bookmarks", {
|
|||||||
catch (e) {}
|
catch (e) {}
|
||||||
|
|
||||||
if (charset)
|
if (charset)
|
||||||
var encodedParam = escape(window.convertFromUnicode(charset, param));
|
var encodedParam = escape(window.convertFromUnicode(charset, param)).replace(/\+/g, encodeURIComponent);
|
||||||
else
|
else
|
||||||
encodedParam = bookmarkcache.keywords[keyword.toLowerCase()].encodeURIComponent(param);
|
encodedParam = bookmarkcache.keywords[keyword.toLowerCase()].encodeURIComponent(param);
|
||||||
|
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ update(Bookmark.prototype, {
|
|||||||
if (!this.charset || this.charset === "UTF-8")
|
if (!this.charset || this.charset === "UTF-8")
|
||||||
return encodeURIComponent(str);
|
return encodeURIComponent(str);
|
||||||
let conv = services.CharsetConv(this.charset);
|
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() {
|
get folder() {
|
||||||
|
|||||||
Reference in New Issue
Block a user