releasenotes/notes/Add-oneline-string-validator-aa4e1ccad9d8d5c8.yaml
raw| 1 | --- |
| 2 | features: |
| 3 | - | |
| 4 | New API validators ``validate_oneline_not_empty_string`` and |
| 5 | ``validate_oneline_not_empty_string_or_none`` are added. Those validators |
| 6 | are now used to validate ``opt_name`` and ``opt_value`` fields of |
| 7 | the extra_dhcp_opt so strings with newline character are not valid for |
| 8 | dhcp extra option's name nor value. |