From 2660aca33087bcbe5cf2669b54a652ab990d7e67 Mon Sep 17 00:00:00 2001 From: Kris Maglione Date: Sat, 16 Aug 2014 21:20:03 -0700 Subject: [PATCH] That was kind of obvious, really... --- common/content/bookmarks.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/content/bookmarks.js b/common/content/bookmarks.js index 75171f4e..e60fbbe1 100644 --- a/common/content/bookmarks.js +++ b/common/content/bookmarks.js @@ -699,7 +699,7 @@ var Bookmarks = Module("bookmarks", { let query = item.url.substring(begin.length, rest); if (item.url.substr(rest) == end && query.contains("&")) try { - item.url = decodeURIComponent(query.replace(/#.*/, "").replace(/\+/g, " ")); + item.url = decodeURIComponent(query.replace(/[&#].*/, "").replace(/\+/g, " ")); return item; } catch (e) {}