Will Miao
35bc21a5bb
fix(civarchive): don't resolve foreign-ecosystem file IDs into CivitAI metadata
...
CivArchive's /sha256 endpoint also indexes files from other ecosystems
(e.g. civision/ModelScope) whose model_id/model_version_id belong to a
different ID space. _resolve_version_from_files fed those IDs into the
CivitAI-ID-based /models/{id} endpoint, which resolves modelVersionId
globally, so a colliding ID silently linked the local file to an
unrelated CivitAI model (hash f3a5370b... resolved to CivitAI model
119656 via version id 130022).
Two guards: skip file entries whose source marks a foreign ecosystem,
and require the resolved version's files to contain the queried SHA256
before accepting it.
2026-10-15 22:49:06 +08:00
..
2026-09-25 23:29:30 +08:00
2026-10-03 21:13:07 +08:00
2026-09-29 09:03:26 +08:00
2026-10-15 08:36:49 +08:00
2025-02-24 20:41:16 +08:00
2026-09-02 14:33:44 +08:00
2026-09-25 18:44:06 +08:00
2026-04-20 09:52:48 +08:00
2026-08-08 20:12:52 +08:00
2026-09-26 09:02:37 +08:00
2026-08-08 20:12:52 +08:00
2026-10-07 16:38:38 +08:00
2026-09-29 07:20:12 +08:00
2026-10-15 11:18:06 +08:00
2026-02-02 08:30:59 +08:00
2026-10-15 11:18:06 +08:00
2026-10-15 11:18:06 +08:00
2026-10-15 22:49:06 +08:00
2026-08-08 20:12:52 +08:00
2026-10-09 08:07:00 +08:00
2026-04-20 15:20:57 +08:00
2026-04-15 20:42:55 +08:00
2026-08-25 08:19:54 +08:00
2026-10-15 21:16:03 +08:00
2026-10-12 11:35:14 +08:00
2026-10-09 22:32:25 +08:00
2026-10-12 11:35:14 +08:00
2026-10-02 21:16:06 +08:00
2026-08-08 20:12:52 +08:00
2026-10-15 11:18:06 +08:00
2026-10-08 07:55:47 +08:00
2026-08-08 20:12:52 +08:00
2026-09-14 10:27:33 +08:00
2026-08-08 20:12:52 +08:00
2026-10-15 11:18:06 +08:00
2025-10-13 14:39:31 +08:00
2026-10-03 21:13:07 +08:00
2026-10-10 08:09:08 +08:00
2026-09-11 23:03:24 +08:00
2026-10-15 08:36:49 +08:00
2026-09-01 21:14:30 +08:00
2026-10-03 14:31:10 +08:00
2026-10-04 08:53:24 +08:00
2026-10-03 09:46:46 +08:00
2026-10-15 21:10:41 +08:00
2026-09-12 11:25:51 +08:00
2026-10-12 11:35:14 +08:00
2026-10-03 21:13:07 +08:00
2026-10-15 11:18:06 +08:00
2026-10-15 11:18:06 +08:00
2026-10-12 10:34:55 +08:00
2026-10-15 11:18:06 +08:00
2026-10-12 11:35:14 +08:00
2026-09-26 10:00:58 +08:00
2026-10-15 11:18:06 +08:00
2026-10-12 11:59:10 +08:00
2026-08-08 20:12:52 +08:00
2026-09-17 23:59:22 +08:00
2026-10-10 08:33:54 +08:00
2026-08-08 20:12:52 +08:00
2026-10-03 21:13:07 +08:00
2026-10-15 11:18:06 +08:00
2026-09-17 23:59:22 +08:00
2026-09-26 09:02:37 +08:00
2026-09-19 09:04:24 +08:00
2026-09-19 09:04:24 +08:00
2026-09-24 09:33:27 +08:00