mirror of
https://github.com/ZeroDream-CN/SakuraPanel.git
synced 2025-01-12 09:52:52 +08:00
Fix XSS
This commit is contained in:
parent
c4031e696d
commit
527261574f
@ -94,7 +94,7 @@ class PostHandler {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$msg = $result[1] ?? "未知错误";
|
$msg = $result[1] ?? "未知错误";
|
||||||
exit($msg);
|
exit(htmlspecialchars($msg));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user