Skip to content

File validation check is too narrow for log file path validation #671

@Zodiac1978

Description

@Zodiac1978

validate_file(...) === 1 only checks one invalid case - Safer check would reject all non-zero invalid codes.
https://github.com/pluginkollektiv/antispam-bee/blob/master/antispam_bee.php#L2376

See also: https://developer.wordpress.org/reference/functions/validate_file/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions