connection-string icon indicating copy to clipboard operation
connection-string copied to clipboard

Invalid URL character '~'

Open peterp opened this issue 3 years ago • 1 comments

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?

peterp avatar Jan 31 '22 20:01 peterp

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.

vitaly-t avatar Feb 03 '22 09:02 vitaly-t

Fixed in v4.3.6.

vitaly-t avatar Sep 24 '22 15:09 vitaly-t