Thanks to visit codestin.com
Credit goes to github.com

Skip to content

"Accepted" validation rule does not accept boolean true #4067

Closed
@EventideGlow

Description

@EventideGlow

The "accepted" validation rule fails on a boolean true value. This was uncovered when sending a POST request to the server in JSON form.

Location of bug: https://github.com/laravel/framework/blob/master/src/Illuminate/Validation/Validator.php#L682

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions