-
Notifications
You must be signed in to change notification settings - Fork 55
Description
Acknowledgements
- I have searched (https://github.com/utmstack/UTMStack/issues) for past instances of this issue
- I have verified that my UTMStack version is up-to-date
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
Assignees
Labels
Type
Projects
Status