Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
don't convert header names to nested values
Browse files Browse the repository at this point in the history
fixes #6855
  • Loading branch information
bridiver committed Aug 16, 2016
1 parent 88f47a5 commit 5f11d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion atom/browser/net/atom_network_delegate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ void ToDictionary(base::DictionaryValue* details,
std::unique_ptr<base::DictionaryValue> 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));
}

Expand Down

1 comment on commit 5f11d53

@bbondy
Copy link
Member

@bbondy bbondy commented on 5f11d53 Aug 16, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pls set auditor for next time, thx.
++

Please sign in to comment.