From 6bcae2e6f57eaff7773f103f0939fbecc5a96149 Mon Sep 17 00:00:00 2001 From: "jcampan@chromium.org" Date: Wed, 8 Oct 2008 16:44:19 +0000 Subject: Clicking the diagnostic link on the malware page would triggers a DCHECK. The diagnostic URL was not formatted properly and we would load an empty URL. BUG=2957 TEST=Navigate to www.ianfette.us, the malware interstitial shows. Click the diagnostic link, you should see the diagnostic google page. Review URL: http://codereview.chromium.org/6081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3012 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/safe_browsing/safe_browsing_blocking_page.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome') diff --git a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc index e361800..7e28d08 100644 --- a/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc +++ b/chrome/browser/safe_browsing/safe_browsing_blocking_page.cc @@ -26,10 +26,10 @@ // diagnostic page. #if defined(GOOGLE_CHROME_BUILD) static const char* const kSbDiagnosticUrl = - "http://safebrowsing.clients.google.com/safebrowsing/diagnostic?site=%ls&client=googlechrome"; + "http://safebrowsing.clients.google.com/safebrowsing/diagnostic?site=%s&client=googlechrome"; #else static const char* const kSbDiagnosticUrl = - "http://safebrowsing.clients.google.com/safebrowsing/diagnostic?site=%ls&client=chromium"; + "http://safebrowsing.clients.google.com/safebrowsing/diagnostic?site=%s&client=chromium"; #endif static const char* const kSbReportPhishingUrl = -- cgit v1.1