Skip to content

Commit

Permalink
Prevent merging of header values when using custom handlers (#2099)
Browse files Browse the repository at this point in the history
  • Loading branch information
r3dqu33n authored and merceyz committed Aug 28, 2017
1 parent 2bdaa17 commit b82ce07
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CefSharp.Core/Internals/TypeConversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,10 @@ namespace CefSharp

for each (String^ key in headers)
{
String^ value = headers[key];
result.insert(std::pair<CefString, CefString>(StringUtils::ToNative(key), StringUtils::ToNative(value)));
for each(String^ value in headers->GetValues(key))
{
result.insert(std::pair<CefString, CefString>(StringUtils::ToNative(key), StringUtils::ToNative(value)));
}
}

return result;
Expand Down

0 comments on commit b82ce07

Please sign in to comment.