make it possible to use ":" in passwords in a DSN (#6348)
this change makes it possible to initialize Sequelize with a DSN that contains a password which contains one or more ":" characters, e.q. ```js const Sequelize = require('sequelize') const instance = Sequelize('mysql://root:234*%25%26%23%24%5E%40%23%7B%7D::\'.%26%40%40@localhost:3600', {}); ``` in this example the MySQL password would be: `234*%&#$^@#{}::'.&@@` without this change Sequelize attempts to connect to MySQL with a password of `234*%&#$^@#{}` ... this is a truncated password that results in a failed connection.
Showing
with
6 additions
and
2 deletions
-
Please register or sign in to post a comment