Project

General

Profile

Actions

Bug #26432

open

When using an external database, special characters are breaking the password detection

Added by Nicolas CHARLES 12 days ago. Updated 11 days ago.

Status:
New
Priority:
2
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

A user reported that the file /opt/rudder/etc/external-db.conf is not correctly read and the password is not corectly configured when using special charaters (at least $ )

Actions #1

Updated by Vincent MEMBRÉ 12 days ago

  • Target version changed from 8.2.5 to 8.2.6
Actions #2

Updated by François ARMAND 11 days ago

  • Assignee set to Benoît PECCATTE
  • Priority changed from To review to 2

So, the source file /opt/rudder/etc/external-db.conf is dotsourced, then a sed is done, so it's likely why some chars are not correctly escaped.

We should:
- as a workaround, document the accepted chars (but there's no obvious reason to force restraining the char scope, esp if the pass is generated by some cloud provider)
- correctly escape the pass before copying it.

Actions

Also available in: Atom PDF