Title: [202228] trunk/Source/WebCore
Revision
202228
Author
[email protected]
Date
2016-06-20 09:10:33 -0700 (Mon, 20 Jun 2016)

Log Message

Unreviewed, fix post-landing review comment from Darin on r202188.

* platform/network/CacheValidation.cpp:
(WebCore::parseCacheHeader):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (202227 => 202228)


--- trunk/Source/WebCore/ChangeLog	2016-06-20 08:52:10 UTC (rev 202227)
+++ trunk/Source/WebCore/ChangeLog	2016-06-20 16:10:33 UTC (rev 202228)
@@ -1,3 +1,10 @@
+2016-06-20  Chris Dumez  <[email protected]>
+
+        Unreviewed, fix post-landing review comment from Darin on r202188.
+
+        * platform/network/CacheValidation.cpp:
+        (WebCore::parseCacheHeader):
+
 2016-06-19  Antti Koivisto  <[email protected]>
 
         Updating class name of a shadow host does not update the style applied by :host()

Modified: trunk/Source/WebCore/platform/network/CacheValidation.cpp (202227 => 202228)


--- trunk/Source/WebCore/platform/network/CacheValidation.cpp	2016-06-20 08:52:10 UTC (rev 202227)
+++ trunk/Source/WebCore/platform/network/CacheValidation.cpp	2016-06-20 16:10:33 UTC (rev 202228)
@@ -244,7 +244,7 @@
             size_t nextDoubleQuotePosition = value.find('"', 1);
             if (nextDoubleQuotePosition == notFound) {
                 // Parse error; just use the rest as the value
-                result.append({ directive, trimToNextSeparator(value.substring(1, value.length() - 1)).toString() });
+                result.append({ directive, trimToNextSeparator(value.substring(1)).toString() });
                 return result;
             }
             // Store the value as a quoted string without quotes
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to