| Index: third_party/WebKit/Source/platform/network/HTTPParsers.cpp
|
| diff --git a/third_party/WebKit/Source/platform/network/HTTPParsers.cpp b/third_party/WebKit/Source/platform/network/HTTPParsers.cpp
|
| index 40ddcec6454cad61f728109a9950747f3037bae8..bd5257dece6b4a7ce03560d17ba556f50cd38c51 100644
|
| --- a/third_party/WebKit/Source/platform/network/HTTPParsers.cpp
|
| +++ b/third_party/WebKit/Source/platform/network/HTTPParsers.cpp
|
| @@ -899,12 +899,14 @@ bool parseMultipartHeadersFromBody(const char* bytes,
|
| }
|
|
|
| // See https://tools.ietf.org/html/draft-ietf-httpbis-jfv-01, Section 4.
|
| -std::unique_ptr<JSONArray> parseJSONHeader(const String& header) {
|
| +std::unique_ptr<JSONArray> parseJSONHeader(const String& header,
|
| + int maxParseDepth) {
|
| StringBuilder sb;
|
| sb.append("[");
|
| sb.append(header);
|
| sb.append("]");
|
| - std::unique_ptr<JSONValue> headerValue = parseJSON(sb.toString());
|
| + std::unique_ptr<JSONValue> headerValue =
|
| + parseJSON(sb.toString(), maxParseDepth);
|
| return JSONArray::from(std::move(headerValue));
|
| }
|
|
|
|
|