Fix for double escapeshellarg in bug 5258 - Thanks Andy!
This commit is contained in:
@@ -37,7 +37,7 @@ function check_language($cmd) {
|
||||
$current_lang = current_language();
|
||||
$output = '';
|
||||
|
||||
if(!($handle = popen(escapeshellarg($cmd) .' dump dicts', 'r'))) {
|
||||
if(!($handle = popen($cmd .' dump dicts', 'r'))) {
|
||||
error_handler("Couldn't create handle!");
|
||||
exit;
|
||||
}
|
||||
@@ -237,4 +237,4 @@ wordWindowObj.writeBody();
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user