blinko-space / blinko

An open-source, self-hosted personal note tool prioritizing privacy, built using TypeScript .
https://blinko-demo.vercel.app/
GNU Affero General Public License v3.0
846 stars 74 forks source link

When the file name of the uploaded attachment is sufficiently long and includes Chinese characters, an error will occur #147

Open KyleKwan2024 opened 1 day ago

KyleKwan2024 commented 1 day ago

All English file names work fine regardless of their length, but when the file name includes Chinese characters, an error will be reported once the file name reaches a certain length:Failed to execute 'json'on 'Response':Unexpected end of JSON input

全部英文的文件名就算再长都没问题,但是当文件名中有中文字符的时候,文件名达到一定的长度后,就会报错:Failed to execute 'json'on 'Response':Unexpected end of JSON input image