mirror of
https://github.com/t8y2/dbx.git
synced 2026-10-21 19:23:03 +00:00
An Oracle TNS connection stores its alias in `database` and the `jdbc:oracle:thin:@<alias>?TNS_ADMIN=<dir>` string that resolves it in `connection_string`. `scrubConnectionForPlaintextExport()` blanked `connection_string` unconditionally, so a plaintext export/import silently dropped the directory that resolves the alias — the re-imported connection could not connect and had to be reconfigured from scratch (issue #12672). The string is now rebuilt from the alias and TNS_ADMIN only, so every other query parameter is dropped instead of forwarded. Validating the stored string is not enough: the JDBC layer decodes each parameter name with URLDecoder and trims it before comparing, so `?%70assword=`, `?+password=` and `?password%20=` all read as `password` there. Rebuilding makes that impossible by construction, and every non-TNS connection string (JDBC URLs, DSNs, service-name strings) is still dropped along with the stored password. Co-authored-by: dev <dev@local>
Apps
Runnable DBX applications live here.
Directories
desktop/- the Vue frontend used by the Tauri desktop app and the Docker/web build.
The Tauri native shell remains in src-tauri/ because that is the conventional Tauri project location used by the existing build and release tooling.