Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in password throws with password in clear text #286

Open
dave08 opened this issue Jun 13, 2024 · 0 comments
Open

Error in password throws with password in clear text #286

dave08 opened this issue Jun 13, 2024 · 0 comments

Comments

@dave08
Copy link

dave08 commented Jun 13, 2024

Bug Report

Versions

  • Driver: r2dbc-mysql
  • Database: Percona
  • Java: 11
  • OS: Linux

Current Behavior

val user = "user"
val pass  = "pas^s"
val host = "host"
val port = 8080
val dbName = "db"

ConnectionFactoryOptions.parse("r2dbc:postgresql://$user:$pass@${host}:${port}/${dbName}")

Gives an exception with the password in clear text

Expected behavior/code

It should mask the password so that logging on server side shouldn't dump the password for all to see when a mistake is made.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant