Skip to content

Commit

Permalink
php/import.php: Quote unknown action output
Browse files Browse the repository at this point in the history
  • Loading branch information
reedy authored Sep 16, 2024
1 parent 9d15e3e commit 18fd3a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/import.php
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ function die_nicely($msg) {
break;

default:
die_nicely(sprintf(_("Unknown action %s"), $action));
die_nicely(sprintf(_("Unknown action %s"), htmlspecialchars($action)));
}

$fileType = $_POST["fileType"];
Expand Down

0 comments on commit 18fd3a9

Please sign in to comment.