seancorfield / next-jdbc

A modern low-level Clojure wrapper for JDBC-based access to databases.
https://cljdoc.org/d/com.github.seancorfield/next.jdbc/
Eclipse Public License 1.0
750 stars 89 forks source link

Conversion `uri->db-spec` is not working as expected #243

Closed fdabrao closed 1 year ago

fdabrao commented 1 year ago

Describe the bug Using uri->db-spec do not convert the user and password to keyword, only to key string.

To Reproduce Using this uri: jdbc:postgresql://localhost:59659/********?user=**********&password=********** result this:

{"user" "******",
  "password" "******",
  :dbtype "postgresql",
  :host "localhost",
  :port 59659,
  :dbname "******"}

Expected behavior

{:user "******",
  :password "******",
  :dbtype "postgresql",
  :host "localhost",
  :port 59659,
  :dbname "******"}

Version: 1.3.858