Ticket #16226: 16226.patch
File 16226.patch, 713 bytes (added by , 10 years ago) |
---|
-
src/wp-includes/formatting.php
1069 1069 */ 1070 1070 function sanitize_file_name( $filename ) { 1071 1071 $filename_raw = $filename; 1072 $special_chars = array("?", "[", "]", "/", "\\", "=", "<", ">", ":", ";", ",", "'", "\"", "&", "$", "#", "*", "(", ")", "|", "~", "`", "!", "{", "}", chr(0));1072 $special_chars = array("?", "[", "]", "/", "\\", "=", "<", ">", ":", ";", ",", "'", "\"", "&", "$", "#", "*", "(", ")", "|", "~", "`", "!", "{", "}", "%", "+", chr(0)); 1073 1073 /** 1074 1074 * Filter the list of characters to remove from a filename. 1075 1075 *