Project

General

Profile

Actions

Bug #2170

closed

MOTD PT should validate the MOTD value with a regex

Added by Jonathan CLARKE almost 13 years ago. Updated over 9 years ago.

Status:
Released
Priority:
3
Assignee:
Matthieu CERDA
Category:
Techniques
Target version:
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...


Related issues 1 (0 open1 closed)

Related to Rudder - User story #1848: Escape special characters like ' " or ! in directive valuesRejected2011-09-26Actions
Actions

Also available in: Atom PDF