mauricio / postgresql-async

Async, Netty based, database drivers for PostgreSQL and MySQL written in Scala
Apache License 2.0
1.43k stars 222 forks source link

URLParser.parse can't identify '#' in string #214

Open yongdi opened 7 years ago

yongdi commented 7 years ago

this is my code val configuration = URLParser.parse(raw"""jdbc:postgresql://xxxx:5439/xx?user=xx&password=aaa$bbb#ccc""") and i receive its complaint: authorize failure by debug i found the configure's password is aaa$bbb, #ccc is truncated

my workaround is to new one and manual set properties var configuration: Configuration = new Configuration( username = "...", host = "...", port = 5439, password = Option("aaa$bbb#ccc"), database = Option("....") )