Actions
User story #1848
closedEscape special characters like ' " or ! in directive values
Status:
Rejected
Priority:
3
Assignee:
-
Category:
Web - Config management
Target version:
Pull Request:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:
Description
I kept breaking my Rudder by setting a MOTD with double quotes in. We added a regex validator like "([^"]|(?<=\\)")*" to one PT to disallow quotes unless they're escaped, but it's a bit of a hack...
In a more global frame, this should probably be applied automatically to almost all input passed to CFEngine...
Updated by Jonathan CLARKE about 13 years ago
- Target version changed from 23 to 18
Updated by François ARMAND about 13 years ago
- Target version changed from 18 to 24
Updated by Jonathan CLARKE over 12 years ago
- Tracker changed from Bug to User story
- Subject changed from MOTD Policy Instance can't escape characters like ' " or ! to Escape special characters like ' " or ! in directive values
- Description updated (diff)
- Priority changed from 4 to 3
- Target version changed from 24 to Ideas (not version specific)
Updated by Michael Gliwinski about 12 years ago
I just ran into this in checkGenericFileContent technique.
It appears #2947 is related too.
Updated by Nicolas CHARLES almost 12 years ago
- Status changed from New to Rejected
I'm rejecting as a duplicated of #2947
Actions