]> granicus.if.org Git - php/commit
Fixed bug #54289
authorBishop Bettini <bishop.bettini@gmail.com>
Sat, 6 Jan 2018 07:21:30 +0000 (02:21 -0500)
committerNikita Popov <nikita.ppv@gmail.com>
Sun, 28 Jan 2018 20:51:25 +0000 (21:51 +0100)
commitfa586cee3ec4aa646b524737e1199fe9789c067d
tree3cc015da430af0f252ea0c75d355dc4b5a2fda06
parenta99df321f15bf142ee6c558c0f6ef29fac59b04f
Fixed bug #54289

If a directory is passed to Phar::extractTo(), loop over all
entries and extract all files with the given prefix.
NEWS
ext/phar/phar_object.c
ext/phar/tests/bug54289.phpt [new file with mode: 0644]
ext/phar/tests/bug54289/in/dirA/fileA [new file with mode: 0644]
ext/phar/tests/bug54289/in/dirA/fileB [new file with mode: 0644]
ext/phar/tests/bug54289/in/dirAB/file1 [new file with mode: 0644]
ext/phar/tests/bug54289/in/dirAB/file2 [new file with mode: 0644]
ext/phar/tests/bug54289/in/dirAB/file3 [new file with mode: 0644]