Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log when form is using file fields without proper enctype attribute on the form. #1682

Open
tim-schilling opened this issue Oct 8, 2022 · 0 comments

Comments

@tim-schilling
Copy link
Contributor

One of the issues that can trip up new developers is the fact that forms require enctype="multipart/form-data" when there's a file being uploaded. If a developer doesn't know this, it can be hard to track down. I think it'd be reasonable to have the toolbar inspect the loaded HTML content and inspect it for invalid configurations. The first of which being a <input type="file" ..> /> in a form that isn't defined as <form enctype="multipart/form-data">.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant