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:
81befad
)
use wfEscapeShellArg instead of escapeshellarg on the off chance this will ever have...
author
Brion Vibber
<brion@users.mediawiki.org>
Wed, 17 Jan 2007 09:12:11 +0000
(09:12 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Wed, 17 Jan 2007 09:12:11 +0000
(09:12 +0000)
includes/DjVuImage.php
patch
|
blob
|
history
diff --git
a/includes/DjVuImage.php
b/includes/DjVuImage.php
index
a0a7305
..
7637b32
100644
(file)
--- a/
includes/DjVuImage.php
+++ b/
includes/DjVuImage.php
@@
-221,7
+221,8
@@
class DjVuImage {
function retrieveMetaData() {
global $wgDjvuToXML;
if ( isset( $wgDjvuToXML ) ) {
- $cmd = $wgDjvuToXML . ' --without-anno --without-text ' . escapeshellarg( $this->mFilename );
+ $cmd = $wgDjvuToXML . ' --without-anno --without-text ' .
+ wfEscapeShellArg( $this->mFilename );
$xml = wfShellExec( $cmd );
} else {
$xml = null;