-
Notifications
You must be signed in to change notification settings - Fork 15
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
Resolve Utf8 bug #632
Resolve Utf8 bug #632
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now I understand the problem better. It seems that there was invalid user input (a string instead of a file). So in addition to also accepting a string in the Utf8
rule, we should prepend bail
to the validation rules, so they fail already if the value is not a file and skip the remaining rules.
Check value type and add test case.