| Index: Source/platform/network/HTTPParsers.cpp
|
| diff --git a/Source/platform/network/HTTPParsers.cpp b/Source/platform/network/HTTPParsers.cpp
|
| old mode 100644
|
| new mode 100755
|
| index e557188493514fe12aec80518c21f6f428266bd0..d833fe14ed5b47ed7adf36d141551e9c46bfd2c4
|
| --- a/Source/platform/network/HTTPParsers.cpp
|
| +++ b/Source/platform/network/HTTPParsers.cpp
|
| @@ -129,10 +129,9 @@ bool isValidHTTPToken(const String& characters)
|
| static const size_t maxInputSampleSize = 128;
|
| static String trimInputSample(const char* p, size_t length)
|
| {
|
| - String s = String(p, std::min<size_t>(length, maxInputSampleSize));
|
| if (length > maxInputSampleSize)
|
| - s.append(horizontalEllipsis);
|
| - return s;
|
| + return String(p, maxInputSampleSize) + horizontalEllipsis;
|
| + return String(p, length);
|
| }
|
|
|
| ContentDispositionType contentDispositionType(const String& contentDisposition)
|
|
|