dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dd65fe
)
Quote and escape the binary path.
author
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 31 Mar 2007 16:52:34 +0000
(16:52 +0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sat, 31 Mar 2007 16:52:34 +0000
(16:52 +0000)
includes/DjVuImage.php
patch
|
blob
|
history
diff --git
a/includes/DjVuImage.php
b/includes/DjVuImage.php
index
7872cf0
..
8033c32
100644
(file)
--- a/
includes/DjVuImage.php
+++ b/
includes/DjVuImage.php
@@
-220,7
+220,7
@@
class DjVuImage {
function retrieveMetaData() {
global $wgDjvuToXML;
if ( isset( $wgDjvuToXML ) ) {
- $cmd =
$wgDjvuToXML
. ' --without-anno --without-text ' .
+ $cmd =
wfEscapeShellArg( $wgDjvuToXML )
. ' --without-anno --without-text ' .
wfEscapeShellArg( $this->mFilename );
$xml = wfShellExec( $cmd );
} else {