mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-03-22 15:46:33 +01:00
Cap adjustTimestampsForOrdering to N passes and add cycle detection to findValidParent, preventing DoS via crafted ChatGPT export files with cyclic parentMessageId relationships. Add breakParentCycles to sever cyclic back-edges before saving, ensuring structurally valid message trees are persisted to the DB. |
||
|---|---|---|
| .. | ||
| __data__ | ||
| fork.js | ||
| fork.spec.js | ||
| importBatchBuilder.js | ||
| importConversations.js | ||
| importers-timestamp.spec.js | ||
| importers.js | ||
| importers.spec.js | ||
| index.js | ||