From ca4cbe34a09579b46b2c3dbb2fa1b72098c640cf Mon Sep 17 00:00:00 2001 From: bridiver Date: Mon, 15 Aug 2016 17:15:47 -0700 Subject: [PATCH] don't convert header names to nested values fixes #6855 --- atom/browser/net/atom_network_delegate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atom/browser/net/atom_network_delegate.cc b/atom/browser/net/atom_network_delegate.cc index 323342c..df7ad6a 100644 --- a/atom/browser/net/atom_network_delegate.cc +++ b/atom/browser/net/atom_network_delegate.cc @@ -85,7 +85,7 @@ void ToDictionary(base::DictionaryValue* details, std::unique_ptr dict(new base::DictionaryValue); net::HttpRequestHeaders::Iterator it(headers); while (it.GetNext()) - dict->SetString(it.name(), it.value()); + dict->SetStringWithoutPathExpansion(it.name(), it.value()); details->Set("requestHeaders", std::move(dict)); } -- 2.7.4