Skip to content

Commit

Permalink
fix XSS
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpanderson authored and root committed Dec 21, 2024
1 parent 6f5fc34 commit 99de7f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html/user/job_file.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ function upload_files($r) {
$req = $_POST['request'];
$r = simplexml_load_string($req);
if (!$r) {
xml_error(-1, "can't parse request message: $req", __FILE__, __LINE__);
xml_error(-1, "can't parse request message: ".htmlspecialchars($req), __FILE__, __LINE__);
}

switch($r->getName()) {
Expand Down

0 comments on commit 99de7f6

Please sign in to comment.