mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-02 04:15:52 -05:00
Files with an empty MIME type were incorrectly rejected as folders when their size was 0 or exactly 4096 bytes. One matching file also blocked the entire upload batch. This removes the MIME type and size heuristic from `useFileUploader` and checks dropped items using `webkitGetAsEntry()` instead. Actual directories remain rejected when the browser provides directory entry information.