Project

General

Profile

Actions

Architecture #5981

open

\ (backslashes) are replaced a bit to eagerly by \\ in the generated promises

Added by Nicolas CHARLES over 9 years ago. Updated about 6 years ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Config management
Effort required:
Name check:
Fix check:
Regression:

Description

In the generated promises, we replace \ by \\, as \ alone is not always properly interpreted by the agent
However, it causes issue in case of regular expression (\s, \t, i'm looking at you), as you can see in #5979

We should define a clever heuristic for replacing \ by \\ that won't break anything


Related issues 1 (0 open1 closed)

Related to Rudder - User story #3281: Change Rudder variable to allow for automatic escaping or raw valueReleased2013-02-18Actions
Actions

Also available in: Atom PDF