Changeset 304


Ignore:
Timestamp:
02/25/10 08:59:57 (11 years ago)
Author:
sander
Message:

Escape arguments for Cyclone commandline validator

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/www/app/models/validator.php

    r302 r304  
    132132                ); 
    133133 
    134                 $proc = proc_open($this->bin . ' ' . $path, $spec, $pipes); 
     134                $proc = proc_open($this->bin . ' "' . $path . '"', $spec, $pipes); 
    135135                if (!is_resource($proc)) { 
    136136                        $this->state = Validator::STATE_ERROR; 
Note: See TracChangeset for help on using the changeset viewer.