Project

General

Profile

Actions

Bug #5550

closed

Classes are not properly canonified by ncf if \' are present

Added by Nicolas CHARLES about 10 years ago. Updated over 2 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

I needed to execute the following command

/usr/bin/mysqladmin -u root -h 127.0.0.1 password \'password\'

with a specific condition.
CFEngine will canonify it as command_execution__usr_bin_mysqladmin__u_root__h_127_0_0_1_password__password_ , but we call the logger_rudder with the condition command_execution__usr_bin_mysqladmin__u_root__h_127_0_0_1_password__password_ , which is invalid

The Result classes showed in the UI are also invalid in this regard

Actions #1

Updated by Nicolas CHARLES about 10 years ago

  • Status changed from New to Pending technical review
  • Assignee set to Jonathan CLARKE
  • Pull Request set to https://github.com/Normation/ncf/pull/123
Actions #2

Updated by François ARMAND almost 10 years ago

  • Assignee changed from Jonathan CLARKE to Benoît PECCATTE

Benoit, could you look to that one ?

Actions #3

Updated by Benoît PECCATTE almost 10 years ago

  • Status changed from Pending technical review to Discussion
  • Assignee changed from Benoît PECCATTE to Nicolas CHARLES

Yous said something is not relevant anymore, can you elaborate ?

Actions #4

Updated by Nicolas CHARLES about 9 years ago

  • Status changed from Discussion to Pending technical review
  • Assignee changed from Nicolas CHARLES to Vincent MEMBRÉ
  • Pull Request changed from https://github.com/Normation/ncf/pull/123 to https://github.com/Normation/ncf/pull/223
Actions #5

Updated by Nicolas CHARLES about 9 years ago

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

Applied in changeset commit:9f61383f625117ccb8fcc032a46142e19982cb5e.

Actions #6

Updated by Vincent MEMBRÉ about 9 years ago

Applied in changeset commit:a202764d7682515ac352b887d24b8fb47c0ffb92.

Actions #7

Updated by Vincent MEMBRÉ about 8 years ago

  • Status changed from Pending release to Released
Actions #8

Updated by Alexis Mousset over 2 years ago

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

Updated by Alexis Mousset over 2 years ago

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

Also available in: Atom PDF