Skip to content

Commit

Permalink
Merge pull request #30 from vanderbilt-redcap/fix-vulnerabilities
Browse files Browse the repository at this point in the history
Escaped error output
  • Loading branch information
moorejr5 authored May 25, 2023
2 parents 48a9247 + 9ba4167 commit 076209e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/pipe_all_data_ajax.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
if (empty($errors)) {
$response['success'] = true;
} else {
$response['error'] = implode('. ', $errors);
$response['error'] = implode('. ', $module->escape($errors));
}

echo json_encode($response);

0 comments on commit 076209e

Please sign in to comment.