mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-09-01 21:25:58 +08:00
Hardens Browser component URL upload against path traversal (CWE-22) and SSRF (CWE-918). Fixed filename extraction to decode before basename() with strict validation. Replaced urllib with SSRF-safe fetch + manual redirect following. 15 tests pass. --------- Co-authored-by: jindou <jindou@local>