Closed adriangb closed 11 months ago
According to the reference URL parser this is an invalid URL - link - The #
marks the start of the fragment, so the parts before it would be the host and port. Since :posgres
isn't a valid port number, the parsing fails.
For this to work, the user and password need to be percent encoded using the user-info percent encoding set
The following Postgres DSN fails to parse:
postgresql://postgres:postgres#@localhost:5432/postgres
. I'm not sure if this is intended or a bug, if it's the former please go ahead and close.