Ensure that only one extension is used in the filename. Some web servers, including
some versions of Apache, may process files based on inner extensions so that
"filename.php.gif" is fed to the PHP interpreter.[R.434.1] [R.434.2]
When running on a web server that supports case-insensitive filenames, perform caseinsensitive evaluations of the extensions that are provided.