Skip to content

Commit

Permalink
Fix for double escapeshellarg in bug 5258 - Thanks Andy!
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Apr 21, 2006
1 parent 6037288 commit a80722b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/speller/server-scripts/spellchecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -237,4 +237,4 @@ function init_spell() {
</script>

</body>
</html>
</html>

0 comments on commit a80722b

Please sign in to comment.