mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 18:39:53 +08:00
On a case-insensitive filesystem, week2/readme.md flattens onto the README.md that week1/README.md already wrote in the same call. Since members are created with "xb", that raised FileExistsError and the upload router rejected the whole archive with a 400 naming the server path. Before "xb", the later member silently replaced the earlier one. Treat it like any other flattening collision: when the destination is the same file as a member this call already wrote, skip it as a duplicate. A pre-existing file with a case-only name match is still refused, and case-sensitive filesystems keep both names as before.