Skip to content

Incorrect encoding of special character & in console connection password #1381

@mjabascal10

Description

@mjabascal10

Acknowledgements

Describe the bug

When accessing the interactive console from any panel view — for example, navigating to Datasources → Detail → Connect to Console — if the target password contains the & character, the frontend incorrectly encodes it, introducing a line break in the resulting string.
This causes the backend authentication process to fail, returning an “Incorrect password” message even though the credentials are valid.

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

The password should be transmitted exactly as entered, without additional line breaks or encoding errors.

Current Behavior

When a user tries to connect to the interactive console from any panel view (e.g., Datasources → Detail → Connect to Console) and the password contains the & character, the frontend mis-encodes the password by inserting a line break. The backend receives this altered password and rejects it, showing an “Incorrect password” error even though the credentials are correct.

Reproduction Steps

1.	Go to Datasources and select any existing datasource.
2.	Click Detail, then Connect to Console.
3.	Use credentials where the password contains the & character (e.g., Test&123).
4.	Observe that the connection fails with an incorrect password error.

Possible Solution

Ensure proper URL and string encoding/decoding of the password before sending it to the backend. Validate that special characters such as &, ?, and = remain unaltered during the request construction.

Additional Information/Context

No response

UTMStack Version

10.9.1

Operating System and version

Ubuntu

Hypervisor and Version | Server Vendor and Model

Browser and version

Google Chrome

Metadata

Metadata

Labels

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions