Index: trunk/extensions/FlaggedRevs/specialpages/ValidationStatistics_body.php |
— | — | @@ -65,8 +65,8 @@ |
66 | 66 | // If a cache update is needed, do so asynchronously. |
67 | 67 | // Don't trigger query while another is running. |
68 | 68 | if( !$dbCache->get( $key ) && !$dbCache->get( $keySQL ) ) { |
69 | | - $path = dirname(__FILE__).'/../maintenance/updateStats.php'; |
70 | | - exec( "php $path >! /dev/null &" ); |
| 69 | + $path = wfEscapeShellArg( dirname(__FILE__).'/../maintenance/updateStats.php' ); |
| 70 | + exec( "php $path > /dev/null &" ); |
71 | 71 | } |
72 | 72 | } |
73 | 73 | |