vapor / postgres-kit

🐘 Non-blocking, event-driven Swift client for PostgreSQL.
MIT License
188 stars 70 forks source link

Add postgress configuration encoding support #235

Closed elGeekalpha closed 1 year ago

elGeekalpha commented 2 years ago

PR solves #232 validating url with from PostgresConfiguration with urlQueryAllowed CharacterSet to allow passing passwords with special characters like postgres://user:se%cret@localhost

Also aded some test to verify PostgresConfiguration init with several urls configurations and init components validations.

gwynne commented 1 year ago

This has been addressed by proper URL handling in the new SQLPostgresConfiguration implementation.