Bug #9901
closed
Error when using quotes on class parameters
Added by Alexis Mousset almost 8 years ago.
Updated over 2 years ago.
Category:
Web - Technique editor
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.
- 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 "\'"
- Status changed from New to In progress
- 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
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset commit:62655c7f838393902b0804c23bb5993b02117670.
this change seems to prevent backquoting quotes :/
ha, it was also impossible before, so it simply inverts the impossible behaviour
- Related to Bug #10723: Escaping backslash+double quote in NCF method file_ensure_lines_present added
- Related to Bug #10809: Invalid handling of escaped quotes/double quotes added
- Status changed from Pending release to Released
- Priority set to 0
- Target version changed from 0.x to ncf-0.x
- Project changed from 41 to Rudder
- Category changed from Technique editor - API to Web - Technique editor
Also available in: Atom
PDF