Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(472)

Unified Diff: chrome/browser/resources/history.html

Issue 42319: Merge r11731.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/branches/169/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/history.html
===================================================================
--- chrome/browser/resources/history.html (revision 11945)
+++ chrome/browser/resources/history.html (working copy)
@@ -643,7 +643,7 @@
for (var i = 0; i < hashSplit.length; i++) {
var pair = hashSplit[i].split("=");
if (pair.length > 1) {
- result[pair[0]] = unescape(pair[1]);
+ result[pair[0]] = decodeURIComponent(pair[1]);
}
}
@@ -676,7 +676,7 @@
PageState.getHashString = function(term, page) {
var newHash = [];
if (term) {
- newHash.push("q=" + escape(term));
+ newHash.push("q=" + encodeURIComponent(term));
}
if (page) {
newHash.push("p=" + page);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698