Skip to content

File Upload Max Size #6441

Closed
Closed
@ornj

Description

@ornj

If you are validating a file upload with @Asset\File(maxSize) and the specified maxSize is greater than the value set for upload_max_filesize in php.ini, the value of maxSize is returned in the error as the reason the upload failed.

It would be nice if the message could specify that it was the value of upload_max_filesize that caused the file upload to fail and not the constraint.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions