Actions
Bug #2170
closedMOTD PT should validate the MOTD value with a regex
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
I keep breaking my Rudder by setting a MOTD with double quotes in.
Could we add a regex validator like "([^"]|(?<=\\)")*" ? This would disallow quotes unless they're escaped.
In a more global frame, this should probably be applied automatically to almost all input passed to CFEngine...
Updated by Matthieu CERDA almost 13 years ago
- Status changed from 2 to In progress
- Assignee set to Matthieu CERDA
Updated by Jonathan CLARKE almost 13 years ago
- Target version changed from 2.3.6 to 2.3.7
Updated by Matthieu CERDA almost 13 years ago
- Status changed from In progress to Pending technical review
- % Done changed from 0 to 100
Applied in changeset commit:c0df09b43c59584ac8f3f4542dad246ba9b6a8e5.
Updated by Anonymous almost 13 years ago
Applied in changeset commit:08386023b4a6a0b8496e333c3b6db79bf26e9cbf.
Updated by Jonathan CLARKE almost 13 years ago
- Status changed from Pending technical review to Released
Looks good to me!
Updated by Benoît PECCATTE over 9 years ago
- Project changed from 24 to Rudder
- Category changed from Policy Templates to Techniques
Actions