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-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-11-11 15:47:58 +01:00
2026-10-08 23:14:34 +02:00
2026-11-14 11:56:43 +01:00
2026-11-14 11:56:43 +01:00
2026-10-08 23:14:34 +02:00
2026-11-14 00:38:00 +01:00
2026-08-28 15:25:20 +08:00
2026-11-10 15:49:41 +01:00
2026-11-10 15:49:41 +01:00
2026-08-24 19:29:14 +08:00
2026-11-14 00:38:00 +01:00
2026-11-13 23:46:42 +01:00
2026-10-08 23:14:34 +02:00
2026-08-31 12:20:31 -04:00
2026-11-13 23:46:42 +01:00
2026-11-13 21:33:27 +01:00
2026-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-11-14 00:38:00 +01:00
2026-11-10 23:05:47 +01:00
2026-11-14 00:38:00 +01:00
2026-11-12 20:48:34 +01:00
2026-11-14 00:38:00 +01:00
2026-08-28 15:25:20 +08:00
2026-11-11 00:34:55 +01:00
2026-09-09 11:52:15 -04:00
2026-11-13 22:56:52 +01:00
2026-11-14 00:38:00 +01:00
2026-08-28 14:03:07 +08:00
2026-10-08 23:14:34 +02:00
2026-09-11 08:47:57 +08:00
2026-11-10 17:45:11 +01:00
2026-11-09 12:22:46 +01:00
2026-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-11-11 23:43:12 +01:00
2026-10-08 23:14:34 +02:00
2026-11-09 21:47:40 +01:00
2026-11-10 23:05:47 +01:00
2026-09-10 13:03:20 +08:00
2026-11-13 22:56:52 +01:00
2026-11-13 22:56:52 +01:00
2026-11-09 20:21:27 +01:00
2026-10-08 23:14:34 +02:00
2026-11-11 23:43:12 +01:00
2026-08-24 19:29:00 +08:00
2026-11-10 17:45:11 +01:00
2026-08-24 19:29:00 +08:00
2026-10-08 23:14:34 +02:00
2026-11-13 10:14:39 +01:00
2026-11-09 22:35:09 +01:00
2026-11-09 22:17:56 +01:00
2026-11-12 22:35:11 +01:00
2026-09-15 23:51:37 +08:00
2026-10-08 23:14:34 +02:00
2026-11-09 12:22:46 +01:00
2026-10-08 23:14:34 +02:00
2026-11-09 12:22:46 +01:00
2026-11-09 22:35:09 +01:00
2026-09-12 03:00:28 -04:00
2026-10-21 14:25:35 +02:00
2026-10-21 14:25:35 +02:00
2026-08-25 09:40:05 -04:00
2026-10-12 08:53:20 +02:00
2026-08-24 19:28:18 +08:00
2026-11-13 23:46:42 +01:00
2026-10-08 23:14:34 +02:00
2026-07-26 04:27:45 -04:00
2026-10-08 23:14:34 +02:00
2026-11-13 14:42:56 +01:00
2026-10-08 23:14:34 +02:00
2026-11-13 14:42:56 +01:00
2026-11-13 14:42:56 +01:00
2026-11-13 21:33:27 +01:00
2026-11-13 22:56:52 +01:00
2026-10-08 23:14:34 +02:00
2026-11-13 21:33:27 +01:00
2026-09-11 00:41:01 +08:00
2026-10-08 23:14:34 +02:00
2026-10-19 00:33:08 +02:00
2026-08-24 19:30:14 +08:00
2026-08-28 12:56:29 +08:00
2026-11-11 00:34:55 +01:00
2026-11-11 00:34:55 +01:00
2026-08-28 12:56:29 +08:00
2026-11-10 23:05:47 +01:00
2026-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-11-12 09:38:52 +01:00
2026-11-14 00:38:00 +01:00
2026-10-08 23:14:34 +02:00
2026-11-14 00:38:00 +01:00
2026-08-24 09:16:44 -04:00
2026-11-14 00:38:00 +01:00
2026-10-08 23:14:34 +02:00
2026-10-08 23:14:34 +02:00
2026-11-13 14:42:56 +01:00
2026-08-24 19:29:00 +08:00
2026-10-08 23:14:34 +02:00
2026-11-14 00:38:00 +01:00
2026-08-25 14:56:15 +08:00
2026-10-19 00:28:27 +02:00
2026-08-24 19:29:00 +08:00
2026-08-09 09:09:59 -04:00
2026-11-12 20:16:23 +01:00
2026-08-24 19:29:00 +08:00
2026-11-14 00:38:00 +01:00
2026-09-19 09:27:03 -04:00
2026-11-14 00:38:00 +01:00
2026-11-12 20:48:34 +01:00
2026-11-13 14:42:56 +01:00
2026-08-25 12:05:26 +08:00
2026-08-28 12:56:29 +08:00
2026-11-13 21:52:27 +01:00
2026-11-13 21:52:27 +01:00
2026-10-08 23:14:34 +02:00