Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion interface/billing/get_claim_file.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
$fname = $claim_file_dir . $fname;

if (!file_exists($fname)) {
echo xl("The claim file: ") . $_GET['key'] . xl(" could not be accessed.");
echo xl("The claim file: ") . htmlspecialchars($_GET['key'], ENT_QUOTES, 'UTF-8') . xl(" could not be accessed.");
}
elseif ($_GET['action'] == "print") {
?>
Expand Down
2 changes: 2 additions & 0 deletions interface/fax/fax_dispatch.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
else if ($_GET['scan']) {
$mode = 'scan';
$filename = $_GET['scan'];
// ensure the file variable has no illegal characters
check_file_dir_name($filename);
$filepath = $GLOBALS['scanner_output_directory'] . '/' . $filename;
}
else {
Expand Down