Skip to content

v0.9.10: fix special character handling in database connection strings

Choose a tag to compare

@ZmeiGorynych ZmeiGorynych released this 19 Jul 05:11
34baa4a

SLayer 0.9.10

A small bug-fix release for datasource connection strings.

If your database username or password contains characters like @, /, or :, SLayer previously misread them as URL delimiters and built a broken connection string - corrupting the credentials, host, port, or database name before the connection was even attempted. This affected PostgreSQL, MySQL/MariaDB, ClickHouse, and any other dialect configured through individual connection fields.

Those credentials now round-trip correctly.

If you supply a full connection_string yourself, encode reserved characters within the credential components as before - SLayer treats that value as a complete URL and does not re-encode it.