EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Print path
Yuriifc50db841399
diff --git a/application/Espo/Core/Utils/File/ZipArchive.php b/application/Espo/Core/Utils/File/ZipArchive.phpindex afcddd0b43..720a46c6ff 100644--- a/application/Espo/Core/Utils/File/ZipArchive.php+++ b/application/Espo/Core/Utils/File/ZipArchive.php@@ -80,7 +80,7 @@ class ZipArchivestr_starts_with($filename, '/') ||str_starts_with($filename, '\\')) {- throw new RuntimeException("No allowed path.");+ throw new RuntimeException("No allowed path '$filename'.");}$zip->extractTo($destination, $filename);