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 #1

Updated by Jonathan CLARKE about 12 years ago

  • Target version changed from 2.4.0~beta4 to 2.4.0~rc1
Actions #2

Updated by Jonathan CLARKE about 12 years ago

  • Assignee deleted (Nicolas PERRON)
Actions #3

Updated by Nicolas PERRON about 12 years ago

  • Target version changed from 2.4.0~rc1 to 2.4.0~rc2
Actions #4

Updated by Nicolas PERRON almost 12 years ago

  • Target version changed from 2.4.0~rc2 to 2.4.0
Actions #5

Updated by Nicolas CHARLES almost 12 years ago

There are no escaping in Rudder yet; so the technique has to be able to handle this, until #2947 is implemented.
I suggest to retarget this ticket to version Ideas(not version specific)

Actions #6

Updated by Nicolas PERRON almost 12 years ago

  • Target version changed from 2.4.0 to Ideas (not version specific)

Nicolas CHARLES wrote:

There are no escaping in Rudder yet; so the technique has to be able to handle this, until #2947 is implemented.
I suggest to retarget this ticket to version Ideas(not version specific)

Ok. I agree

Actions #7

Updated by Jonathan CLARKE almost 12 years ago

  • Status changed from New to Rejected

This is covered by #1848.

Actions

Also available in: Atom PDF