About validation rules #54
-
Hi, what exactly are "file" and "max:5000" for?
And what validation rules can we use? Are there other rules we can use? |
Beta Was this translation helpful? Give feedback.
Answered by
rahulhaque
Jan 24, 2024
Replies: 1 comment 3 replies
-
@stratboy when you drop a file in the filepond, these are the rules that get validated first before storing it in the temp folder. Without this rule, user can literally upload anything consuming your whole server space. This is done to prevent users from uploading files you don't want in your system. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
rahulhaque
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@stratboy when you drop a file in the filepond, these are the rules that get validated first before storing it in the temp folder. Without this rule, user can literally upload anything consuming your whole server space. This is done to prevent users from uploading files you don't want in your system.