From 61f3c42f9f46ceca50f008de5a7ee8196666c276 Mon Sep 17 00:00:00 2001 From: "neil%parkwaycc.co.uk" Date: Fri, 18 Jun 2004 22:10:32 +0000 Subject: [PATCH] Bug 236913 Need to correctly unescape search strings for the search sidebar (indirect fallout from bug 44272) r=timeless sr=alecf --- xpfe/components/search/resources/search-panel.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xpfe/components/search/resources/search-panel.js b/xpfe/components/search/resources/search-panel.js index 59d5caea963..79bfb4ec5b2 100644 --- a/xpfe/components/search/resources/search-panel.js +++ b/xpfe/components/search/resources/search-panel.js @@ -139,7 +139,7 @@ function rememberSearchText(target) } } - textNode.value = decodeURI(target); + textNode.value = decodeURIComponent(target); doEnabling(); } } @@ -919,7 +919,7 @@ function saveSearch() if (target) { // convert plusses (+) back to spaces target = target.replace(/\+/g, " "); - lastSearchText = decodeURI(target); + lastSearchText = decodeURIComponent(target); } }