Ticket #542: JslLintTask.diff

File JslLintTask.diff, 533 bytes (added by Maciej Majewski <maciej.majewski@…>, 21 months ago)

patch

  • JslLintTask.php

     
    147147      $command = $this->executable . ' -output-format ' . escapeshellarg('file:__FILE__;line:__LINE__;message:__ERROR__') . ' '; 
    148148 
    149149      if (isset($this->conf)) { 
    150           $command .= '-conf ' . $this->conf->getPath() . ' '; 
     150          $command .= '-conf ' . escapeshellarg($this->conf->getPath()) . ' '; 
    151151      } 
    152152 
    153153      $command .= '-process ';