Files
ARTEX/db
BaaRai 939f8d4976 db: drop URL userinfo in normalizeURL before storing assets.url
UpsertHTTPService and UpsertEndpoint both key assets.url on normalizeURL,
which lowercased scheme and host but kept u.User. A URL passed with
user:pass@ (insert_assets, server imports, sync) was stored verbatim and
the same URL with different credentials produced separate rows.

Set u.User = nil before serialising. Scheme, host, port, path and query
are unchanged; an @ in the path or query is preserved.

Tests: normalizeURL unit cases, plus PG tests for both upserts covering
credential stripping, dedup across different credentials, @ in path,
and an unchanged URL without userinfo.
2026-11-14 11:56:43 +01:00
..
2026-07-26 04:27:45 -04:00
2026-10-08 23:14:34 +02:00
2026-08-28 12:56:29 +08:00
2026-08-28 12:56:29 +08:00
2026-08-25 12:05:26 +08:00
2026-08-28 12:56:29 +08:00