Clean-up after r206014
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Sep 2016 14:31:16 +0000 (14:31 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 19 Sep 2016 14:31:16 +0000 (14:31 +0000)
https://bugs.webkit.org/show_bug.cgi?id=162140

Patch by Youenn Fablet <youenn@apple.com> on 2016-09-19
Reviewed by Sam Weinig.

Covered by existing tests.

* platform/network/HTTPHeaderMap.cpp:
(WebCore::HTTPHeaderMap::add):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@206096 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/network/HTTPHeaderMap.cpp

index 11357ac..1e965cd 100644 (file)
@@ -1,3 +1,15 @@
+2016-09-19  Youenn Fablet  <youenn@apple.com>
+
+        Clean-up after r206014
+        https://bugs.webkit.org/show_bug.cgi?id=162140
+
+        Reviewed by Sam Weinig.
+
+        Covered by existing tests.
+
+        * platform/network/HTTPHeaderMap.cpp:
+        (WebCore::HTTPHeaderMap::add):
+
 2016-09-19  Nael Ouedraogo  <nael.ouedraogo@crf.canon.fr>
 
         If a host object is only used as a variadic argument, its bindings header isn't properly included
index d9f5713..bb20f70 100644 (file)
@@ -97,7 +97,7 @@ void HTTPHeaderMap::add(const String& name, const String& value)
     if (!findHTTPHeaderName(name, headerName)) {
         auto result = m_uncommonHeaders.add(name, value);
         if (!result.isNewEntry)
-            result.iterator->value = makeString(result.iterator->value, ",", value);
+            result.iterator->value = makeString(result.iterator->value, ',', value);
         return;
     }
     add(headerName, value);