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

Skip to content

Check/sanitise numeric preference input values #1600

@petecooper

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?

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions