Project

General

Profile

Actions

Bug #11386

closed

Bug #11326: chars are not escaped correctly in dsc techniques

Invalid pattern

Added by Vincent MEMBRÉ about 7 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

Stupid java is stupid

replaceAll("\\","\\\\")

is invalid because first backslash is replace, then put in a regexp ...

You need to do "\\\\" to escape a backslash ... or do triple quote string ...


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #11384: Broken policy generation with internal errorReleasedNicolas CHARLESActions
Actions

Also available in: Atom PDF