diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2020-10-13 13:45:20 +0300 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2020-10-13 14:03:02 +0300 |
commit | 0ef6b5982e26f5957fbe5eaf0332f73625a3d24f (patch) | |
tree | 76c9b0e5a16e9d19d0dd911029f77eec7512ddef /shared | |
parent | 6755ba75aff4044f7dfa40578426195b9922907a (diff) |
Fix support for archives without directory structure
In case of archives that do not store directories
we would fail to automatically serve `index.html`
for a `/` type of request.
This makes us create directories when traversing
the file list.
```
Archive: public-without-dirs.zip
Length Date Time Name
--------- ---------- ----- ----
40 2020-09-15 02:47 public/subdir/hello.html
14 2020-09-15 03:35 public/subdir/2bp3Qzs9CCW7cGnxhghdavZ2bJDTzvu2mrj6O8Yqjm3YMRozRZULxBBKzJXCK16GlsvO1GlbCyONf2LTCndJU9cIr5T3PLDN7XnfG00lEmf9DWHPXiAbbi0v8ioSjnoTqdyjELVKuhsGRGxeV9RptLMyGnbpJx1w2uECiUQSHrRVQNuq2xoHLlk30UAmis1EhGXP5kKprzHxuavsKMdT4XRP0d79tie4tjqtfRsP4y60hmNS1vSujrxzhDa
33 2020-09-15 02:47 public/subdir/linked.html
31 2020-09-15 02:47 public/404.html
33 2020-09-15 02:47 public/index.html
258 2020-10-13 12:40 public/bad_symlink.html
18 2020-10-13 12:40 public/symlink.html
```
Diffstat (limited to 'shared')
-rw-r--r-- | shared/pages/group/zip.gitlab.io/public-without-dirs.zip | bin | 0 -> 2117 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/shared/pages/group/zip.gitlab.io/public-without-dirs.zip b/shared/pages/group/zip.gitlab.io/public-without-dirs.zip Binary files differnew file mode 100644 index 00000000..a6cfdfcf --- /dev/null +++ b/shared/pages/group/zip.gitlab.io/public-without-dirs.zip |