You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If somebody decides to mess with the HTML using their browser's developer tools, they could change name="title" to name="title[]" and submit the form. If the form doesn't pass validation and the user gets redirected back to the form, the following exception is thrown:
Method NetoJose\Bootstrap4Forms\FormService::__toString() must not throw an exception, caught ErrorException: htmlspecialchars() expects parameter 1 to be string, array given
Granted, this is probably an uncommon scenario, but nevertheless it could happen.
The text was updated successfully, but these errors were encountered:
When I use this code:
I get this output:
If somebody decides to mess with the HTML using their browser's developer tools, they could change
name="title"
toname="title[]"
and submit the form. If the form doesn't pass validation and the user gets redirected back to the form, the following exception is thrown:Granted, this is probably an uncommon scenario, but nevertheless it could happen.
The text was updated successfully, but these errors were encountered: