Skip to content

Check/sanitise numeric preference input values #1600

Description

@petecooper

The expire_logs_after input accepts various values that aren't valid numbers of days:

Screenshot 2020-12-05 at 18 25 08
Screenshot 2020-12-05 at 18 25 19
Screenshot 2020-12-05 at 18 25 51

Is there a sane way we can check this value is a) numeric and b) ≥ 0?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions