User story #1848
Escape special characters like ' " or ! in directive values
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...
#3 Updated by Jonathan CLARKE about 5 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)