mirror of
https://github.com/langgenius/dify.git
synced 2026-02-14 19:01:02 -05: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.