- Timestamp:
- 07/31/2008 04:01:30 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/js/tinymce/plugins/spellchecker/classes/PSpellShell.php
r6632 r8512 104 104 105 105 if(preg_match("#win#i", php_uname())) 106 return $this->_config['PSpellShell.aspell'] . " -a --lang=". $lang. " --encoding=utf-8 -H < " . $this->_tmpfile . " 2>&1";106 return $this->_config['PSpellShell.aspell'] . " -a --lang=". escapeshellarg($lang) . " --encoding=utf-8 -H < " . $this->_tmpfile . " 2>&1"; 107 107 108 return "cat ". $this->_tmpfile ." | " . $this->_config['PSpellShell.aspell'] . " -a --encoding=utf-8 -H --lang=". $lang;108 return "cat ". $this->_tmpfile ." | " . $this->_config['PSpellShell.aspell'] . " -a --encoding=utf-8 -H --lang=". escapeshellarg($lang); 109 109 } 110 110 }
Note: See TracChangeset
for help on using the changeset viewer.