When clicking Migrate on the final page, SMT should start the migration.
Actual Behavior
When clicking Migrate on the final page, SMT throws an error, displaying sensitive info in plaintext:
Can't get source and target profiles: error while preparing prerequisites for migration: could not parse source-profile, error =
invalid key=value pair (expected format: key1 =value1):
password=this=isvalid
Steps to Reproduce the Problem
Create a PostgreSQL user with appropriate SMT permissions that has an equals = symbol in its password (e.g. this=isvalid)
Use that user during the initial Connect to Database screen
Go through the migration steps to the last page (doesn't matter if it's a POC or Low Downtime Migration)
Click Migrate
Specifications
Version: v3.1.1
Platform:
# Server running SMT
> uname -a
Linux <redacted> 4.19.0-18-cloud-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 GNU/Linux
go version
go version go1.21.0 linux/amd64
Browser
Chrome Version 117.0.5938.92 (Official Build) (x86_64) on MacOS 13.5.2
Expected Behavior
When clicking
Migrate
on the final page, SMT should start the migration.Actual Behavior
When clicking
Migrate
on the final page, SMT throws an error, displaying sensitive info in plaintext:Steps to Reproduce the Problem
=
symbol in its password (e.g.this=isvalid
)Connect to Database
screenMigrate
Specifications
Browser
Chrome Version 117.0.5938.92 (Official Build) (x86_64) on MacOS 13.5.2