mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-03-22 07:36: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. |
||
|---|---|---|
| .. | ||
| __tests__ | ||
| emails | ||
| import | ||
| files.js | ||
| getFileStrategy.js | ||
| handleText.js | ||
| index.js | ||
| queue.js | ||
| removePorts.js | ||
| sendEmail.js | ||
| staticCache.js | ||