Project

General

Profile

Actions

Bug #2823

closed

Some special characters seems to not be escaped in MOTD Technique

Added by Nicolas PERRON over 12 years ago. Updated almost 12 years ago.

Status:
Rejected
Priority:
5 (lowest)
Assignee:
-
Category:
Techniques
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

It is not possible to use asciiart:

           ,---. 
            ,.'-.   \ 
           ( ( ,'"""""-. 
           `,X          `. 
           /` `           `._ 
          (            ,   ,_\ 
          |          ,---.,'o `. 
          |         / o   \     ) 
           \ ,.    (      .____, 
            \| \    \____,'     \ 
          '`'\  \        _,____,' 
          \  ,--      ,-'     \ 
            ( C     ,'         \ 
             `--'  .'           | 
               |   |         .O | 
             __|    \        ,-'_ 
            / `L     `._  _,'  ' `. 
           /    `--.._  `',.   _\  ` 
           `-.       /\  | `. ( ,\  \ 
          _/  `-._  /  \ |--'  (     \ 
         '  `-.   `'    \/\`.   `.    ) 
               \  -hrr-    \ `.  |    |

Dooh

Is not possible to use it and the logs returns this:

[2012-08-17 15:52:30] DEBUG com.normation.rudder.services.policies.ParameterizedValueLookupServiceImpl - Processing variable : MOTD Message of the day (MOTD) to display : ArrayBuffer(,---. ^M
            ,.'-.   \ ^M
           ( ( ,'"""""-. ^M
           `,X          `. ^M
           /` `           `._ ^M
          (            ,   ,_\ ^M
          |          ,---.,'o `. ^M
          |         / o   \     ) ^M
           \ ,.    (      .____, ^M
            \| \    \____,'     \ ^M
          '`'\  \        _,____,' ^M
          \  ,--      ,-'     \ ^M
            ( C     ,'         \ ^M
             `--'  .'           | ^M
               |   |         .O | ^M
             __|    \        ,-'_ ^M
            / `L     `._  _,'  ' `. ^M
           /    `--.._  `',.   _\  ` ^M
           `-.       /\  | `. ( ,\  \ ^M
          _/  `-._  /  \ |--'  (     \ ^M
         '  `-.   `'    \/\`.   `.    ) ^M
               \  -hrr-    \ `.  |    | ^M
^M
^M
Dooh)
[2012-08-17 15:52:30] DEBUG com.normation.rudder.services.policies.ParameterizedValueLookupServiceImpl - setted variable values are MOTD ArrayBuffer(,---. ^M
            ,.'-.   \ ^M
           ( ( ,'"""""-. ^M
           `,X          `. ^M
           /` `           `._ ^M
          (            ,   ,_\ ^M
          |          ,---.,'o `. ^M
          |         / o   \     ) ^M
           \ ,.    (      .____, ^M
            \| \    \____,'     \ ^M
          '`'\  \        _,____,' ^M
          \  ,--      ,-'     \ ^M
            ( C     ,'         \ ^M
             `--'  .'           | ^M
               |   |         .O | ^M
             __|    \        ,-'_ ^M
            / `L     `._  _,'  ' `. ^M
           /    `--.._  `',.   _\  ` ^M
           `-.       /\  | `. ( ,\  \ ^M
          _/  `-._  /  \ |--'  (     \ ^M
         '  `-.   `'    \/\`.   `.    ) ^M
               \  -hrr-    \ `.  |    | ^M
^M
^M
Dooh)
[2012-08-17 15:52:30] DEBUG com.normation.rudder.services.policies.ParameterizedValueLookupServiceImpl - Processing variable : MOTD_EMPTY Enforce this MOTD only : ArrayBuffer(true)

Related issues 2 (0 open2 closed)

Related to Rudder - User story #2947: A special textarea-type field should exist for the Techniques that automatically escapes some charactersReleasedMatthieu CERDA2013-02-18Actions
Is duplicate of Rudder - User story #1848: Escape special characters like ' " or ! in directive valuesRejected2011-09-26Actions
Actions

Also available in: Atom PDF