Index: trunk/extensions/TimedMediaHandler/maintenance/WebVideoJobRunner.php |
— | — | @@ -72,7 +72,7 @@ |
73 | 73 | // Add one process: |
74 | 74 | $cmd = "php $IP/maintenance/runJobs.php"; |
75 | 75 | if( $this->wiki ) { |
76 | | - $cmd .= " --wiki " . $this->wiki; |
| 76 | + $cmd .= " --wiki " . wfEscapeShellArg ( $this->wiki ); |
77 | 77 | } |
78 | 78 | $cmd .= " --type webVideoTranscode --maxjobs 1 --maxtime {$wgTranscodeBackgroundTimeLimit}"; |
79 | 79 | $status = $this->runBackgroundProc( $cmd ); |