Closed Taldres closed 1 day ago
Hey, thanks for the report!
It uses validator.js under the hood which has the following options: https://github.com/validatorjs/validator.js
So I'm not sure there's anything we can do on our side. If we remove validation then it could break later during the parsing step and be even harder to debug.
Maybe try percent encoding? https://stackoverflow.com/questions/23353623/how-to-handle-special-characters-in-the-password-of-a-postgresql-url-connection I guess that should work!
Bug Description
I assigned a custom password to the PostgreSQL user and added it to the
PG_DATABASE_URL
. However, the password contained special characters like=
and/
, which seemingly caused theisUrl
validation to fail.After choosing an alphanumeric password, it worked perfectly.
If this bug can be confirmed, it would certainly be beneficial to include this note in the documentation until it is resolved.
Expected behavior
Special characters should be allowed.
Technical inputs
Errors
Code isUrl Validation