diff --git a/src/Http/Controllers/LoadController.php b/src/Http/Controllers/LoadController.php index d9f15a9..7764408 100644 --- a/src/Http/Controllers/LoadController.php +++ b/src/Http/Controllers/LoadController.php @@ -15,6 +15,6 @@ public function __invoke(NovaRequest $request): StreamedResponse { $data = Data::fromEncrypted($request->input('serverId')); - return Storage::disk($data->disk)->response($data->path, $data->filename); + return Storage::disk($data->disk)->response($data->path, urlencode($data->filename)); } }