Open
Description
What happened?
Attachment downloading is not working, and getting the file does not exist

You can see file does exist

If I change the implementation to the following, it starts working fine.
return Storage::download($file, $filename, [
'Content-Type' => $attachment->mime,
]);
Looks like response()->download
is not working as expected.
I'm not sure if it's really a bug. Open to your thoughts and suggestions.
How to reproduce the bug
- Configure MinIO locally or use s3 for storage.
- Send an email with an attachment nt
- Try to download the attachment from the Filament resource.
Package Version
2.3.6
PHP Version
8.3
Laravel Version
11
Which operating systems does with happen with?
macOS
Notes
No response