SecureFileController::find
Case-sensitive version of File::find(). This is used because case-sensitive file systems can have files at both upload.jpg and upload.JPG. Without this change, we always return the first of those files no matter what. SS *shouldn't* allow two files to be uploaded with the same (case insensitive) filename, but it does.
Signature
public function find(string
$filename )
Parameters
$filename
— string
Returns
- File|null