Skip to content

Can't upload files with .ico extension #19555

@Elvin-Qulizade

Description

@Elvin-Qulizade

Package

filament/filament

Package Version

v4.0.0

Laravel Version

v12

Livewire Version

No response

PHP Version

PHP 8.2

Problem description

I can't upload files with .ico extension no matter what I do. At the end I decided to remove any constraint but it still doesn't let me upload .ico files.

Expected behavior

It should have let me upload ico files.

Steps to reproduce

FileUpload::make("favicon")
                ->label("Favicon")
                ->required()
                ->visibility("public")
                ->disk("public")
                ->maxSize(1024)
                ->preserveFilenames()
                ->visible(fn($record) => $record->key === "favicon"),

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

https://github.com/Agency-Make/bbak_backend

Relevant log output

data.favicon.851488c9-3dc3-4401-a9db-ef7ffbdc1220 should be: png, jpg, jpeg, pdf, mp4, mov, avi, mkv, webm.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions