Skip to content

fix: support special characters in database configuration and DSN con…#1400

Open
YoungSx wants to merge 1 commit intoWei-Shaw:mainfrom
YoungSx:fix/db-credentials-encoding
Open

fix: support special characters in database configuration and DSN con…#1400
YoungSx wants to merge 1 commit intoWei-Shaw:mainfrom
YoungSx:fix/db-credentials-encoding

Conversation

@YoungSx
Copy link
Copy Markdown

@YoungSx YoungSx commented Mar 30, 2026

…struction

  • Refactor database DSN generation to use net/url for robust percent-encoding of credentials and identifiers.
  • Relax validation rules for database usernames and names to allow dots and starting underscores.
  • Ensure CREATE DATABASE statements correctly quote identifiers containing special characters.

…struction

- Refactor database DSN generation to use `net/url` for robust percent-encoding of credentials and identifiers.
- Relax validation rules for database usernames and names to allow dots and starting underscores.
- Ensure `CREATE DATABASE` statements correctly quote identifiers containing special characters.
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

Successfully merging this pull request may close these issues.

1 participant