Skip to content

V-02: regex: rule is corrupted by pipe-splitting in the string rule form #2

Description

@hakeemRash

Validator.php:235 explodes rule strings on the pipe before parsing, so any regex containing a pipe breaks. Fix: special-case regex extraction before the split, or require the array rule form for regex.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions