Project

General

Profile

Actions

User story #1848

closed

Escape special characters like ' " or ! in directive values

Added by Nicolas PERRON about 13 years ago. Updated almost 12 years ago.

Status:
Rejected
Priority:
3
Assignee:
-
Category:
Web - Config management
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...


Related issues 4 (0 open4 closed)

Related to Rudder - Bug #2170: MOTD PT should validate the MOTD value with a regexReleasedMatthieu CERDA2012-01-12Actions
Related to Rudder - Bug #3108: break rules generation using quotes in a "File content" in a directive like "Enforce a file content"RejectedMatthieu CERDA2012-12-27Actions
Related to Rudder - User story #2887: Add a warning in the checkGenericFileContent Technique about quotesReleasedMatthieu CERDA2012-09-10Actions
Has duplicate Rudder - Bug #2823: Some special characters seems to not be escaped in MOTD TechniqueRejected2012-08-17Actions
Actions

Also available in: Atom PDF