Changeset 4080
- Timestamp:
- 06/19/07 11:50:05 (6 years ago)
- Files:
-
- modules/branches/2.3/asterisk-cli/module.xml (modified) (1 diff)
- modules/branches/2.3/asterisk-cli/page.cli.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.3/asterisk-cli/module.xml
r2773 r4080 15 15 <md5sum>af3c22f41599762122e075ac734b1612</md5sum> 16 16 <changelog> 17 *1.1* Fixed display on systems with colored asterisk console, fixes ticket:2006 17 18 *1.0* Fixed security issue, first release in 2.2 18 19 *0.001* Original Release modules/branches/2.3/asterisk-cli/page.cli.php
r2882 r4080 68 68 $badchars = array("'", "`", "\\", ";", "\""); // Strip off any nasty chars. 69 69 $fixedcmd = str_replace($badchars, "", $txtCommand); 70 $ph = popen(stripslashes("asterisk - rx \"$fixedcmd\""), "r" );70 $ph = popen(stripslashes("asterisk -nrx \"$fixedcmd\""), "r" ); 71 71 while ($line = fgets($ph)) 72 72 echo htmlspecialchars($line);
