mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 06:09:33 +08:00
* fix(reading): fit original filenames within the UTF-8 limit * fix(reading): shorten the temp upload name the same way The upload is first written to a temp file named after the upload. A 100-character Chinese name is 300 UTF-8 bytes, so on Linux the request failed with "File name too long" before the stored-name limit added here was ever reached. * chore(api): refresh router index for the reading upload change --------- Co-authored-by: zszz3 <91608029+zszz3@users.noreply.github.com>