76dad297ff
This is because stream_read will pre-cache the next block which causes feof($this->source) to return true prematurely. So we cannot rely on it. Fixed encryption stream wrapper unit tests to actually simulate 6k/8k blocks to make sure we cover the matching logic. Added two data files with 8192 and 8193 bytes. |
||
---|---|---|
.. | ||
app | ||
certificates | ||
l10n | ||
block-aligned-plus-one.txt | ||
block-aligned.txt | ||
data.tar.gz | ||
data.zip | ||
db_structure.xml | ||
db_structure2.xml | ||
logo-wide.png | ||
logo-wide.svg | ||
lorem-big.txt | ||
lorem.txt | ||
openssl.cnf | ||
strängé filename (duplicate #2).txt | ||
testapp.zip | ||
testapp2.zip | ||
testavatar.png | ||
testimage.gif | ||
testimage.jpg | ||
testimage.png |