filament icon indicating copy to clipboard operation
filament copied to clipboard

Issue with filament Export Download file

Open alkhalalf opened this issue 1 year ago • 2 comments

Package

filament/filament

Package Version

v3

Laravel Version

v10

Livewire Version

v3

PHP Version

php 8.2

Problem description

I am using an Apache2.4 server in my project and when export any file I face this issue https://github.com/user-attachments/assets/9a0e2a19-e8f8-4605-8720-6d16cf106cda

Expected behavior

if I download the exported file takes me to the invalid route but when I am using PHP artisan serve with 127.0.0.1 it works fine i try to change the disk not working and changing the files permission but the issue not coming from file permission it is coming from rourwe

Steps to reproduce

what the exact scenario to solve this issue i modify for the route to download the excel file also not work with me

Reproduction repository (issue will be closed if this is not valid)

https://github.com/filamentphp/demo

Relevant log output

No response

alkhalalf avatar Dec 11 '24 07:12 alkhalalf

Hey @alkhalalf! We're sorry to hear that you've hit this issue. 💛

However, it doesn't look like you've provided much information on how to replicate the issue. Please edit your original post with clear steps we need to take.

github-actions[bot] avatar Dec 11 '24 07:12 github-actions[bot]

Thank you for providing reproduction steps! Reopening the issue now.

github-actions[bot] avatar Dec 11 '24 07:12 github-actions[bot]

Hi, I would suggest using a disk such as S3 to store files instead of using the public filesystem since this is not secure for your users. Additionally, Laravel does not operate well in a subdirectory like you have (/public/ in the URL is problematic on its own). Since this is a web server config issue and not a Filament one, I am going to close this issue.

danharrin avatar Jun 22 '25 17:06 danharrin