Closed ielis closed 6 months ago
Add input sanitation.
The commands now use --validation-policy to choose from MINIMAL, LENIENT and STRICT input validation.
--validation-policy
MINIMAL
LENIENT
STRICT
The minimal validation places the most rudimentary requirements and does not try to fix the inputs.
The lenient validation runs unless a serious issue (error) is found in the input. The examples of errors include:
The less severe issues are fixed. The fixes include
The strict validation requires the input to be impeccable - no errors and no warnings.
The documentation has been updated with a new section.
The user can use --dry-run option to check if the input validates.
--dry-run
Needs phenol 2.0.5 (unreleased).
2.0.5
Fixes #637
Add input sanitation.
The commands now use
--validation-policy
to choose fromMINIMAL
,LENIENT
andSTRICT
input validation.The minimal validation places the most rudimentary requirements and does not try to fix the inputs.
The lenient validation runs unless a serious issue (error) is found in the input. The examples of errors include:
The less severe issues are fixed. The fixes include
The strict validation requires the input to be impeccable - no errors and no warnings.
The documentation has been updated with a new section.
The user can use
--dry-run
option to check if the input validates.