Skip to content

Filename and mimetype are not validated during file upload - #1171

Open
tnotheis wants to merge 3 commits into
mainfrom
filename-is-not-validated-during-UploadOwnFile
Open

Filename and mimetype are not validated during file upload#1171
tnotheis wants to merge 3 commits into
mainfrom
filename-is-not-validated-during-UploadOwnFile

Conversation

@tnotheis

Copy link
Copy Markdown
Member

Readiness checklist

  • I ensured that the PR title is good enough for the changelog.
  • I labeled the PR.
  • I added tests (if necessary).
  • I self-reviewed the PR.

@tnotheis tnotheis self-assigned this Sep 11, 2026
@tnotheis tnotheis added the bug Something isn't working label Sep 11, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd expect the validation to happen in the controller. Is that not possible?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is possible. But what is the purpose of the Validators if it's not validation? :)
Sorry if that's a stupid question. It's been a while since I worked on the runtime.

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

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants