Project

General

Profile

Actions

Bug #8754

closed

file ensure keys-> value cannot handle keys with special characters (like *)

Added by Nicolas CHARLES about 6 years ago. Updated 4 months ago.

Status:
Released
Priority:
1
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Regression:

Description

If we try to use file ensure keys -> values to edit values with * (like /etc/security/limits.conf), it will :
  • complain there is a * in the name of the key
  • not remplace correctly

Solution: escaping the key

Actions #1

Updated by Nicolas CHARLES about 6 years ago

  • Status changed from New to In progress
Actions #2

Updated by Nicolas CHARLES about 6 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/ncf/pull/412
Actions #3

Updated by Nicolas CHARLES about 6 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset commit:89285e5bd56dd13f8c73d78fa29f8cb4c2911598.

Actions #4

Updated by Vincent MEMBRÉ about 6 years ago

  • Status changed from Pending release to Released
Actions #5

Updated by Alexis Mousset 4 months ago

  • Target version changed from 0.x to ncf-0.x
  • Priority set to 0
Actions #6

Updated by Alexis Mousset 4 months ago

  • Project changed from 41 to Rudder
  • Category set to Generic methods
Actions

Also available in: Atom PDF