jorgerojas26 / lazysql

A cross-platform TUI database management tool written in Go.
MIT License
916 stars 51 forks source link

Cannnot connect to postgresql using special characters in password #109

Closed eb-microlab-digital closed 1 month ago

eb-microlab-digital commented 1 month ago

Cannot save / test / connect by using complex password containing special characters like ^, #, [, ] and/or $.

The error message is invalid port ":password^" after host.

These are the url's tested format:

jorgerojas26 commented 1 month ago

Passwords that contains special characters must be URL encoded.

eb-microlab-digital commented 1 month ago

Worked like a charm.

Thank you for quick response!

PS: It will be great if the Readme.md will be enriched with additional note about this situation.