Index: trunk/extensions/CodeReview/Subversion.php |
— | — | @@ -120,11 +120,10 @@ |
121 | 121 | $lang = wfIsWindows() ? "" : "LC_ALL=en_US.utf-8 "; |
122 | 122 | $command = sprintf( |
123 | 123 | "{$lang}svn log -v -r%s:%s %s %s", |
124 | | - intval( $this->_rev( $startRev, 'BASE' ) ), |
125 | | - intval( $this->_rev( $endRev, 'HEAD' ) ), |
| 124 | + wfEscapeShellArg( $this->_rev( $startRev, 'BASE' ) ), |
| 125 | + wfEscapeShellArg( $this->_rev( $endRev, 'HEAD' ) ), |
126 | 126 | $this->getExtraArgs(), |
127 | | - wfEscapeShellArg( $this->mRepo . $path ) |
128 | | - ); |
| 127 | + wfEscapeShellArg( $this->mRepo . $path ) ); |
129 | 128 | |
130 | 129 | $lines = explode( "\n", wfShellExec( $command ) ); |
131 | 130 | $out = array(); |