show " in cmd

pull/586/merge
qkqpttgf 2022-05-15 14:39:05 +08:00 committed by GitHub
parent ce0d34084d
commit 326e7ba0e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1552,7 +1552,7 @@ function EnvOpt($needUpdate = 0)
$html .= ' $html .= '
OneManager DIR: ' . __DIR__ . ' OneManager DIR: ' . __DIR__ . '
<form name="form1" method="POST" action=""> <form name="form1" method="POST" action="">
<input id="inputarea" name="cmd" style="width:100%" value="' . $_POST['cmd'] . '" placeholder="ls, pwd, cat"><br> <input id="inputarea" name="cmd" style="width:100%" value="' . htmlspecialchars($_POST['cmd']) . '" placeholder="ls, pwd, cat"><br>
<input type="submit" value="post"> <input type="submit" value="post">
</form>'; </form>';
if ($_POST['cmd']!='') { if ($_POST['cmd']!='') {