Project

General

Profile

Actions

Bug #7195

closed

Canonify in ncf doesn't work like cfengine does

Added by Benoît PECCATTE over 8 years ago. Updated almost 2 years ago.

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

Description

cfengine canonifies strings as if they where pure ASCII string:
- an utf8 'é' is 2 characters unknown type, it produces 2 '_'
- an iso-8859-1 'é' is 1 character unknown type, it produces 1 '_'

> do not use \w
> convert utf8 to bytes before processing


Related issues 1 (0 open1 closed)

Blocks Rudder - Architecture #7193: Write expected report in the new formatRejectedBenoît PECCATTEActions
Actions #1

Updated by Benoît PECCATTE over 8 years ago

Actions #2

Updated by Benoît PECCATTE over 8 years ago

  • Status changed from New to In progress
Actions #3

Updated by Benoît PECCATTE over 8 years ago

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

Updated by Benoît PECCATTE over 8 years ago

  • Assignee changed from Nicolas CHARLES to Vincent MEMBRÉ
Actions #5

Updated by Benoît PECCATTE over 8 years ago

  • Assignee changed from Vincent MEMBRÉ to Nicolas CHARLES
Actions #6

Updated by Benoît PECCATTE over 8 years ago

  • Assignee changed from Nicolas CHARLES to Vincent MEMBRÉ
Actions #7

Updated by Benoît PECCATTE over 8 years ago

  • Assignee changed from Vincent MEMBRÉ to Nicolas CHARLES
Actions #8

Updated by Benoît PECCATTE over 8 years ago

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

Applied in changeset commit:38bc4dadd0101a01c2c0ee6655bd07ac30e27f4b.

Actions #9

Updated by Vincent MEMBRÉ over 8 years ago

Applied in changeset commit:ec2b811abcc91de661a7fb96b918a8bbbb3193d8.

Actions #10

Updated by Vincent MEMBRÉ over 7 years ago

  • Status changed from Pending release to Released
Actions #11

Updated by Alexis Mousset almost 2 years ago

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

Updated by Alexis Mousset almost 2 years ago

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

Also available in: Atom PDF