Closed yatusiter closed 7 years ago
@yatusiter i tried your temporary fix but i cant edit the package, can you be more specific where did you add the code? (i mean after which function)
@Daniel231 just after the original definiton of FS.HTTP.Handlers.Get
bundle/programs/server/packages/cfs_access-point.js add after line 444, FS.HTTP.Handlers.Get function:
@yatusiter Success! thx :D
When click download from card with unicode(Chinese) filename (upload is OK), the server process crash with following exception :
After googled around, it's seems the HTTP header "Content-Disposition" cannot accept unicode encoding characters, and should be binary or URI encoded.
https://en.wikipedia.org/wiki/List_of_HTTP_header_fields https://my.oschina.net/jsan/blog/180333
Temporary fix with this solution:
bundle/programs/server/packages/cfs_access-point.js add after line 444, FS.HTTP.Handlers.Get function: