mirror of
https://github.com/langgenius/dify.git
synced 2026-02-24 03:41:21 +08:00
Backend returns extensions with a leading dot (e.g., `.png` from `os.path.splitext`), causing binary/media files to be misclassified as text since they didn't match the dot-free extension lists.