Project

General

Profile

Actions

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 over 7 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

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


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #11087: File content (key/value format) technique allows white space before separator but not after itReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF