mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
`buildPostgresLaunchArguments` already guarded URL parsing with `URL.canParse`, but the returned password was read from a second, unguarded `new URL(databaseConfig.url)` call. A `DB_URL` that `new URL` cannot parse, such as a unix domain socket URL like `socket://user:password@/path/to/socket?db=immich`, made the database backup job fail immediately with `TypeError: Invalid URL`. The password is now collected alongside the username inside the guarded branch and falls back to an empty string, matching the existing username fallback. Closes #30331 |
||
|---|---|---|
| .. | ||
| bin | ||
| src | ||
| test | ||
| .gitignore | ||
| .npmignore | ||
| .prettierignore | ||
| .prettierrc | ||
| Dockerfile | ||
| Dockerfile.dev | ||
| eslint.config.mjs | ||
| helmet.json | ||
| mise.toml | ||
| nest-cli.json | ||
| package.json | ||
| tsconfig.build.json | ||
| tsconfig.json | ||