diff --git a/resources/library/sanitization.php b/resources/library/sanitization.php index 664cad0..c27a0a7 100644 --- a/resources/library/sanitization.php +++ b/resources/library/sanitization.php @@ -5,7 +5,7 @@ // Sanitize a filename by replacing common suspicious characters with "_". function sanitize_filename($filename) { - $death_characters = array(" ", ",", "/", "\\", "%", "$", "^"); + $death_characters = array(" ", ",", "<", ">", "/", "\\", "%", "$", "^"); $death_filetypes = array(".php", ".sh", ".lisp", ".cl", ".cgi", ".pl"); $sanitized_filename = str_replace($death_characters, "_", $filename);