mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-13 11:57:50 +01:00
* [FIX] Critical bugfix that prevents directory traversal in JS/CSS includes. Thanks to Jan Van for the notice
This commit is contained in:
@@ -52,7 +52,7 @@ if (!$file) {
|
||||
|
||||
$Minify = new Minify();
|
||||
$Minify->setType(Minify::FILETYPE_CSS);
|
||||
$Minify->setBase(\SP\Init::$SERVERROOT . urldecode($base));
|
||||
$Minify->setBase(urldecode($base));
|
||||
$Minify->addFile(urldecode($file));
|
||||
$Minify->getMinified();
|
||||
}
|
||||
Reference in New Issue
Block a user