diff options
author | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-04 04:40:38 +0000 |
---|---|---|
committer | rsleevi@chromium.org <rsleevi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-04 04:40:38 +0000 |
commit | eb8a06d3f439f3be31a5a0dcbcdd86160c50cbb7 (patch) | |
tree | fa3767ba96bcaab0a329defa454da5611bbd427b /chrome/browser | |
parent | 1d3ee9e501137bb1a79cc2347f8ba9fb35140c5a (diff) | |
download | chromium_src-eb8a06d3f439f3be31a5a0dcbcdd86160c50cbb7.zip chromium_src-eb8a06d3f439f3be31a5a0dcbcdd86160c50cbb7.tar.gz chromium_src-eb8a06d3f439f3be31a5a0dcbcdd86160c50cbb7.tar.bz2 |
Improve the error message shown the for ERR_CERT_INVALID SSL interstitial.
R=wtc
BUG=63203
TEST=none
Review URL: http://codereview.chromium.org/6598024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76877 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r-- | chrome/browser/ssl/ssl_error_info.cc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/ssl/ssl_error_info.cc b/chrome/browser/ssl/ssl_error_info.cc index 3a6c0c2..63555d4 100644 --- a/chrome/browser/ssl/ssl_error_info.cc +++ b/chrome/browser/ssl/ssl_error_info.cc @@ -153,9 +153,15 @@ SSLErrorInfo SSLErrorInfo::CreateError(ErrorType error_type, break; case CERT_INVALID: title = l10n_util::GetStringUTF16(IDS_CERT_ERROR_INVALID_CERT_TITLE); - details = l10n_util::GetStringUTF16(IDS_CERT_ERROR_INVALID_CERT_DETAILS); + details = l10n_util::GetStringFUTF16( + IDS_CERT_ERROR_INVALID_CERT_DETAILS, + UTF8ToUTF16(request_url.host())); short_description = l10n_util::GetStringUTF16(IDS_CERT_ERROR_INVALID_CERT_DESCRIPTION); + extra_info.push_back( + l10n_util::GetStringUTF16(IDS_CERT_ERROR_EXTRA_INFO_1)); + extra_info.push_back(l10n_util::GetStringUTF16( + IDS_CERT_ERROR_INVALID_CERT_EXTRA_INFO_2)); break; case CERT_WEAK_SIGNATURE_ALGORITHM: title = l10n_util::GetStringUTF16( |