URL encode password in JDBC connection string (#4527)
This commit is contained in:
parent
c068f57e4e
commit
9b218f2190
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export default ({ database, className }: Props) => {
|
|||
const removeDatabase = ServerContext.useStoreActions((actions) => actions.databases.removeDatabase);
|
||||
|
||||
const jdbcConnectionString = `jdbc:mysql://${database.username}${
|
||||
database.password ? `:${database.password}` : ''
|
||||
database.password ? `:${encodeURIComponent(database.password)}` : ''
|
||||
}@${database.connectionString}/${database.name}`;
|
||||
|
||||
const schema = object().shape({
|
||||
|
|
Loading…
Reference in a new issue