mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-05-19 18:01:30 +00:00
Hardenened security of deleteLogEndpoint
This commit is contained in:
parent
8bf25a1e38
commit
6d43a979b8
1 changed files with 1 additions and 1 deletions
|
|
@ -613,7 +613,7 @@ class UpdateExecutor
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$logPath = $this->project_dir . '/' . self::UPDATE_LOG_DIR . '/' . $filename;
|
$logPath = $this->project_dir . '/' . self::UPDATE_LOG_DIR . '/' . basename($filename);
|
||||||
|
|
||||||
if (!file_exists($logPath)) {
|
if (!file_exists($logPath)) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue