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

Unified Diff: chrome/browser/safe_browsing/protocol_manager.cc

Issue 543077: The search terms are escaped using + or %20 for space depending on whether re... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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
Index: chrome/browser/safe_browsing/protocol_manager.cc
===================================================================
--- chrome/browser/safe_browsing/protocol_manager.cc (revision 36339)
+++ chrome/browser/safe_browsing/protocol_manager.cc (working copy)
@@ -619,9 +619,9 @@
const GURL& referrer_url) {
std::string report_str = StringPrintf(
kSbMalwareReportUrl,
- EscapeQueryParamValue(malware_url.spec()).c_str(),
- EscapeQueryParamValue(page_url.spec()).c_str(),
- EscapeQueryParamValue(referrer_url.spec()).c_str(),
+ EscapeQueryParamValue(malware_url.spec(), true).c_str(),
+ EscapeQueryParamValue(page_url.spec(), true).c_str(),
+ EscapeQueryParamValue(referrer_url.spec(), true).c_str(),
client_name_.c_str(),
version_.c_str());
GURL report_url(report_str);
« no previous file with comments | « chrome/browser/extensions/extension_updater.cc ('k') | chrome/browser/safe_browsing/safe_browsing_blocking_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698