1
0
mirror of https://github.com/lrsjng/h5ai.git synced 2025-08-07 22:37:22 +02:00

Merge pull request #761 from myl7/master

Fix #758
This commit is contained in:
Lars Jung
2021-01-24 15:54:11 +01:00
committed by GitHub

View File

@@ -144,7 +144,8 @@ class Archive {
continue; continue;
} }
$d = Util::normalize_path(dirname($href), true); $href = Util::normalize_path($href, false);
$d = dirname($href);
$n = basename($href); $n = basename($href);
if ($this->context->is_managed_href($d) && !$this->context->is_hidden($n)) { if ($this->context->is_managed_href($d) && !$this->context->is_hidden($n)) {