David Mudrák
db74c9f6fa
MDL-70631 files: Fix performance of zip_packer::extract_to_pathname()
...
The original implementation was based on ZipArchive::getStream() which
turns out to be very slow and if the archive contains many files, the
unzipping performance is very slow.
The patch changes the implementation to use ZipArchive::extractTo()
unless the extracted entry path contains a folder name ending with dot
(such as some/path./to/file.txt). There is a known upstream bug in the
PHP ZIP extension #77214 (also #74619 and #69477 ) so that we fall back
to keep using the stream in those cases.
2021-02-03 16:09:57 +01:00
..
2020-01-23 15:04:11 +11:00
2020-04-21 19:29:12 +02:00
2021-01-18 09:20:30 +01:00
2021-01-13 19:28:39 +01:00
2019-12-19 04:12:07 +11:00
2021-01-29 14:18:51 +08:00
2019-11-16 20:03:08 +01:00
2021-01-22 08:15:25 +00:00
2021-01-14 12:03:36 +01:00
2020-10-21 12:46:05 +02:00
2020-12-24 14:40:22 +00:00
2020-04-23 00:45:43 +02:00
2021-01-13 19:28:39 +01:00
2019-10-23 10:59:59 +08:00
2018-12-18 09:40:29 +01:00
2020-09-23 12:08:52 +02:00
2020-10-21 12:46:04 +02:00
2021-02-03 16:09:57 +01:00
2019-07-08 11:07:13 +08:00
2020-12-22 15:58:45 +08:00
2018-04-23 23:21:06 +02:00
2020-01-19 18:47:28 +01:00
2021-01-21 09:16:46 +05:30
2021-01-12 15:58:36 +02:00
2020-11-25 21:42:05 +00:00
2021-01-22 11:30:46 +08:00
2020-09-18 10:03:22 +08:00
2020-10-12 13:10:12 +08:00
2019-07-15 08:45:34 +08:00
2019-11-19 10:03:12 +01:00
2021-01-18 09:30:25 +08:00
2021-01-19 16:35:39 +01:00
2021-01-18 09:28:32 +08:00
2020-11-03 19:34:52 +01:00
2020-01-09 17:32:56 +01:00
2019-07-10 08:42:19 +08:00
2021-01-20 15:53:10 +08:00
2021-01-19 10:04:52 +02:00
2020-04-08 13:12:23 -03:00
2021-01-19 09:17:42 +02:00
2020-02-05 19:18:11 +01:00
2020-10-21 12:46:05 +02:00
2020-05-03 01:28:41 +02:00
2020-04-07 20:54:46 +10:00
2019-03-22 09:24:04 +08:00
2019-07-15 08:45:34 +08:00
2021-01-21 10:35:10 +08:00
2020-11-25 21:03:46 +00:00
2021-01-21 09:34:33 +08:00
2020-12-09 10:54:02 +08:00
2021-01-18 21:07:41 +00:00
2021-01-11 16:20:23 +01:00
2020-10-21 12:46:05 +02:00
2021-01-29 14:18:51 +08:00
2020-04-24 15:56:38 +02:00
2019-01-31 11:31:57 +01:00
2020-10-21 12:46:04 +02:00
2021-01-19 09:51:34 +02:00
2018-09-20 17:41:22 +01:00
2020-09-24 19:33:36 +02:00
2020-09-18 10:03:22 +08:00
2021-01-14 07:32:53 +00:00
2020-12-21 09:11:10 +11:00
2020-03-17 14:52:32 +01:00
2020-11-02 10:48:06 +01:00
2020-10-19 22:40:45 +01:00
2020-11-05 18:10:13 +01:00
2020-04-06 12:22:51 +01:00
2020-10-27 15:45:23 +11:00
2020-11-30 17:40:52 +01:00
2019-09-09 11:18:05 +02:00
2019-10-30 16:36:28 +00:00
2020-05-04 16:01:12 +01:00
2020-09-30 16:04:55 +10:00
2020-12-03 10:29:35 +08:00
2018-04-09 02:00:09 +02:00
2020-11-03 12:34:28 +01:00
2020-08-17 00:12:30 +02:00
2019-07-05 15:59:37 +02:00
2020-10-01 14:51:12 +02:00
2020-10-05 18:33:45 +02:00
2020-02-11 10:26:57 +01:00
2020-06-10 15:46:13 +02:00
2017-09-19 14:44:41 +02:00
2020-07-06 10:02:58 +08:00
2017-11-08 15:41:53 +08:00
2021-01-07 23:49:29 +01:00
2020-05-25 18:35:08 +08:00
2019-11-01 15:44:40 +08:00
2018-10-24 08:00:00 +08:00
2019-07-26 07:04:08 +08:00
2020-04-24 15:56:38 +02:00
2020-09-15 10:35:34 +02:00
2020-01-19 18:47:07 +01:00
2018-06-26 10:25:44 +02:00
2019-04-25 18:55:45 +02:00
2019-09-20 08:59:34 +01:00
2020-12-22 13:39:21 +08:00
2021-01-07 09:15:21 +02:00
2020-12-02 13:47:55 +08:00
2020-06-10 15:46:13 +02:00
2020-12-18 12:07:26 +11:00
2019-09-12 20:58:10 +08:00
2020-12-17 10:03:42 +01:00
2020-12-18 12:07:26 +11:00
2020-12-21 09:11:10 +11:00
2020-10-23 08:25:40 +01:00
2019-01-03 01:17:17 +01:00
2020-09-08 19:01:41 +02:00
2019-05-01 16:27:34 +08:00
2020-06-17 13:06:57 +01:00
2018-11-08 22:55:33 +01:00
2019-12-12 15:58:19 +08:00
2017-10-23 12:25:35 +08:00
2020-12-21 09:11:10 +11:00
2020-11-01 11:09:39 +01:00
2019-06-13 07:39:03 +08:00
2020-11-18 23:01:23 +01:00
2021-01-21 12:19:04 +08:00
2021-01-21 09:48:34 +08:00
2020-09-29 22:37:56 +02:00
2017-10-16 09:37:20 +08:00
2020-11-18 13:28:36 +07:00
2019-10-25 17:41:10 +02:00
2019-08-23 11:21:28 +02:00