Skip to content

Commit

Permalink
fix XSS
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpanderson committed Dec 21, 2024
1 parent 443889e commit c08cd58
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 @@ -299,7 +299,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 c08cd58

Please sign in to comment.