Index: content/child/web_url_loader_impl.cc |
diff --git a/content/child/web_url_loader_impl.cc b/content/child/web_url_loader_impl.cc |
index 5b3db86661f8cf309f9db1673873493ba9188e45..c09713f64895a7a807f14a60483cb4240bd9fba3 100644 |
--- a/content/child/web_url_loader_impl.cc |
+++ b/content/child/web_url_loader_impl.cc |
@@ -295,6 +295,13 @@ void SetSecurityStyleAndDetails(const GURL& url, |
return; |
} |
+ // There are cases where an HTTPS request can come in without security |
+ // info attached (such as a redirect response). |
davidben
2015/08/11 12:17:10
(Huh, we don't send down security info in this cas
|
+ if (security_info.empty()) { |
+ response->setSecurityStyle(WebURLResponse::SecurityStyleUnknown); |
+ return; |
+ } |
+ |
SSLStatus ssl_status; |
if (!DeserializeSecurityInfo(security_info, &ssl_status)) { |
response->setSecurityStyle(WebURLResponse::SecurityStyleUnknown); |