diff --git a/scss.inc.php b/scss.inc.php index 48ab800a..e51bb3ba 100644 --- a/scss.inc.php +++ b/scss.inc.php @@ -4214,7 +4214,8 @@ protected function inputName() { * @return string */ protected function findInput() { - if ($input = $this->inputName() + $input = $this->inputName(); + if ($input && strpos($input, '..') === false && substr($input, -5) === '.scss' ) {