We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f0afd5 commit 7e904b7Copy full SHA for 7e904b7
1 file changed
tests/DecodeChunkedStreamTest.php
@@ -101,6 +101,15 @@ public function provideInvalidChunkedEncoding()
101
'header-chunk-to-long' => [
102
str_split(str_repeat('a', 2015) . "\r\nWi\r\nki\r\n5\r\npedia\r\ne\r\n in\r\n\r\nchunks.\r\n0\r\n\r\n")
103
],
104
+ 'end-chunk-zero-check-1' => [
105
+ ["4\r\nWiki\r\n5\r\npedia\r\ne\r\n in\r\n\r\nchunks.\r\n00\r\n\r\n"]
106
+ ],
107
+ 'end-chunk-zero-check-2' => [
108
+ ["4\r\nWiki\r\n5\r\npedia\r\ne\r\n in\r\n\r\nchunks.\r\n000\r\n\r\n"]
109
110
+ 'end-chunk-zero-check-3' => [
111
+ ["00004\r\nWiki\r\n005\r\npedia\r\ne\r\n in\r\n\r\nchunks.\r\n0000\r\n\r\n"]
112
+ ]
113
];
114
}
115
0 commit comments