Skip to content

File validation will not be triggered if the upload file exceeds your upload_max_filesize ini directive #4226

Closed
@rained23

Description

Hi,

I have my upload_max_filesize at default 2048kb , PHP 5.5.10 builtin server.
I tried adding dd() inside max,min,size inside Illuminate\Validation\Validator.php for testing the file input but non of them getting triggered.

If I place required as validation, it will trigger the validation as the input are not exist.
dd(Input::all()) shows that its exists in the input request.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions