Skip to content

Exception: predict and explain when multipart/formdata needs adding to a form #251

@g105b

Description

@g105b

$input->getFile() will fail with a strange array-key exception if the form is not set with enctype='multipart/formdata', but this is not obvious and should be explained in a friendly exception message.

Metadata

Metadata

Assignees

Labels

enhancementNon-breaking improvements to existing behaviour

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions