Bug 236913 Need to correctly unescape search strings for the search sidebar (indirect fallout from bug 44272) r=timeless sr=alecf

This commit is contained in:
neil%parkwaycc.co.uk 2004-06-18 22:10:32 +00:00
Родитель fea06675c2
Коммит 61f3c42f9f
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -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);
}
}