Project

General

Profile

Actions

Bug #9901

closed

Error when using quotes on class parameters

Bug #9901: Error when using quotes on class parameters

Added by Alexis Mousset almost 9 years ago. Updated over 3 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Technique editor
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

The class changes when reloading the page when there is a backquote.

For example using the

test $(rpm -qa|sed -ne \'s/package-//p\') == "0.1-1" 

command execution result.


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #10723: Escaping backslash+double quote in NCF method file_ensure_lines_presentResolvedActions
Related to Rudder - Bug #10809: Invalid handling of escaped quotes/double quotesResolvedActions

Updated by Alexis Mousset almost 9 years ago Actions #1

  • Subject changed from Error when using backquotes on class parameters to Error when using quotes on class parameters

When using a quote, it is replaced by "\'"

Updated by Vincent MEMBRÉ almost 9 years ago Actions #2

  • Status changed from New to In progress

Updated by Vincent MEMBRÉ almost 9 years ago Actions #3

  • Status changed from In progress to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/ncf/pull/508

Updated by Vincent MEMBRÉ almost 9 years ago Actions #4

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

Updated by Nicolas CHARLES almost 9 years ago Actions #5

this change seems to prevent backquoting quotes :/

Updated by Nicolas CHARLES almost 9 years ago Actions #6

ha, it was also impossible before, so it simply inverts the impossible behaviour

Updated by Nicolas CHARLES over 8 years ago Actions #7

  • Related to Bug #10723: Escaping backslash+double quote in NCF method file_ensure_lines_present added

Updated by Nicolas CHARLES over 8 years ago Actions #8

  • Related to Bug #10809: Invalid handling of escaped quotes/double quotes added

Updated by Vincent MEMBRÉ about 8 years ago Actions #9

  • Status changed from Pending release to Released
  • Priority set to 0

Updated by Alexis Mousset over 3 years ago Actions #10

  • Target version changed from 0.x to ncf-0.x

Updated by Alexis Mousset over 3 years ago Actions #11

  • Project changed from 41 to Rudder
  • Category changed from Technique editor - API to Web - Technique editor
Actions

Also available in: PDF Atom