User story #11346
closed
Create a new generic method to set key/value with option to define if it is strict or not
Added by Nicolas CHARLES about 7 years ago.
Updated over 2 years ago.
Description
As needed in parent ticket, we need to create a new generic method, file_ensure_key_value_option , that will also allow a new parameter, option, which can have either
strict : it is exactly key=value
or
lax : any amount of space is authorized either on lhs or rhs
in the future, new option may be added
- Project changed from Rudder to 41
- Parent task deleted (
#11087)
- Related to Bug #11087: File content (key/value format) technique allows white space before separator but not after it added
- Category set to Generic methods
- Target version set to 0.x
- Status changed from New to In progress
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to Alexis Mousset
- Pull Request set to https://github.com/Normation/ncf/pull/638
- Status changed from Pending technical review to Pending release
Applied in changeset commit:140d9f1bc69c20d3831853ec24f56b29d5e62ef4.
- Status changed from Pending release to Released
- Target version changed from 0.x to ncf-0.x
- Project changed from 41 to Rudder
- Category changed from Generic methods to Generic methods
Also available in: Atom
PDF