[X] I have searched the existing issues and didn't find my bug already reported there
[X] I have checked that my bug is still present in the latest release
Sqlacodegen version
3.0.0rc5
SQLAlchemy version
2.0.29
RDBMS vendor
PostgreSQL
What happened?
If user credentials in database URL contain &, string is split on & and database will not be found.
E.g. sqlacodegen postgresql://username:pas&word@localhost/database_name will split on & and shell will report no such file or directory: word@localhost/database_name.
Things to check first
[X] I have searched the existing issues and didn't find my bug already reported there
[X] I have checked that my bug is still present in the latest release
Sqlacodegen version
3.0.0rc5
SQLAlchemy version
2.0.29
RDBMS vendor
PostgreSQL
What happened?
If user credentials in database URL contain &, string is split on & and database will not be found.
E.g.
sqlacodegen postgresql://username:pas&word@localhost/database_name
will split on & and shell will reportno such file or directory: word@localhost/database_name
.Database schema for reproducing the bug
No response