Permalink
Browse files

Adding escapeshellarg to aspell path.

  • Loading branch information...
1 parent 2a069aa commit 399d7b3acb1772ab6f270383c31d6690c7af54e4 julmis committed Aug 25, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 admin/editor.php
View
@@ -178,7 +178,7 @@ function editor_get_dictionaries () {
$dictionaries = array();
$dicts = array();
- if(!($handle = @popen($cmd .' dump dicts', 'r'))) {
+ if(!($handle = @popen(escapeshellarg($cmd) .' dump dicts', 'r'))) {
return $strerror = "Couldn't create handle!";
exit;
}

0 comments on commit 399d7b3

Please sign in to comment.