connection-string
connection-string copied to clipboard
Invalid URL character '~'
In the documentation it states:
Other special symbols, such as ~ or $, for example, can be, but do not need to be encoded.
However, postgresql://postgres:pass~word@localhost:5432/postgres receives the following error:
Error: Invalid URL character '~' at position 26
Is this a bug, or a misunderstanding?
Is this a bug, or a misunderstanding?
Possibly, a bug. A discrepancy, for sure. This needs to be investigated. You can, for now, encode ~ as %7E.
Fixed in v4.3.6.