Sopamo / laravel-filepond

Laravel backend module for filepond uploads
MIT License
202 stars 56 forks source link

Problem Store File #66

Closed hunterbit closed 1 year ago

hunterbit commented 1 year ago

when i try to save a file i always have an exception problem as if the path is wrong. Actually the path is right and I solve the problem only if I comment this part of the code in the file FILEPOND

if (! Str::startsWith($filePath, config('filepond.temporary_files_path', 'filepond'))) { throw new InvalidPathException(); }

where am I wrong ?? why this problem?

hunterbit commented 1 year ago

I solved the problem by passing only the file name as a parameter.