| Index: net/url_request/url_request_http_job.cc
|
| diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc
|
| index 11df1d059f656912f64c22d73140b6b47edb18da..a3e88ab52b8b880a86ca6b2a923692a70d86c334 100644
|
| --- a/net/url_request/url_request_http_job.cc
|
| +++ b/net/url_request/url_request_http_job.cc
|
| @@ -793,8 +793,10 @@ void URLRequestHttpJob::FetchResponseCookies(
|
| std::string value;
|
|
|
| void* iter = NULL;
|
| - while (response_info->headers->EnumerateHeader(&iter, name, &value))
|
| - cookies->push_back(value);
|
| + while (response_info->headers->EnumerateHeader(&iter, name, &value)) {
|
| + if (!value.empty())
|
| + cookies->push_back(value);
|
| + }
|
| }
|
|
|
| class HTTPSProberDelegate : public net::HTTPSProberDelegate {
|
|
|