From 269dc78919226443cb72c6198dc56ae206184e53 Mon Sep 17 00:00:00 2001 From: flashwave Date: Thu, 30 Jan 2025 14:55:09 +0000 Subject: [PATCH] Fixed broom closet index being visible while logged out??? --- VERSION | 2 +- public/index.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 850652b6..bd0cfbab 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -20250130 +20250130.1 diff --git a/public/index.php b/public/index.php index c86b3b73..bc29cb01 100644 --- a/public/index.php +++ b/public/index.php @@ -136,7 +136,7 @@ if(in_array('main', $msz->env->getArray(sprintf('domain:%s', $request->getHeader if(str_starts_with($mszLegacyPath, $mszLegacyPathPrefix)) { $mszLegacyPathReal = realpath($mszLegacyPath); if($mszLegacyPath === $mszLegacyPathReal || $mszLegacyPath === $mszLegacyPathReal . '/') { - if(str_starts_with($mszRequestPath, '/manage') && !$msz->hasManageAccess()) + if(str_starts_with($mszRequestPath, 'manage') && !$msz->hasManageAccess()) Template::throwError(403); if(is_dir($mszLegacyPath))