]> granicus.if.org Git - php/commit
Fix #70103: ZipArchive::addGlob ignores remove_all_path option
authorChristoph M. Becker <cmb@php.net>
Mon, 20 Jul 2015 15:22:08 +0000 (17:22 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Thu, 13 Aug 2015 19:04:36 +0000 (21:04 +0200)
commitc36ce04dd36c5d90363f843bc7fea1bb753cef93
treeaea3e41c37523d2f6b18838e4a252fcacaab39c6
parentf9744a36a229c1647ca7a1dc7aa0dcb9edbc7793
Fix #70103: ZipArchive::addGlob ignores remove_all_path option

When the remove_all_path option is set, but no add_path option, remove_all_path
is simply ignored. This patch fixes this.
ext/zip/php_zip.c
ext/zip/tests/bug70103.phpt [new file with mode: 0644]