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))