Permalink
Browse files

Merged from stable

- Adding escapeshellarg to aspell path
  • Loading branch information...
1 parent 3497a68 commit 8af1a3af3ba6bac258dc329fb68d7d0270be2ae6 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 8af1a3a

Please sign in to comment.