Defect #19467
closedDownloading attachments will be wrong if the file names contain more than two chinese characters
0%
Description
If the file names contain more than two chinese characters, downloading attachments will be wrong, and http 500 error will be occured.
Would anybody help me?
thx
Files
Related issues
Updated by Toshi MARUYAMA over 9 years ago
- Status changed from New to Closed
- Resolution set to Invalid
Duplicate of #19374.
Updated by Toshi MARUYAMA over 9 years ago
- Is duplicate of Defect #19374: MinGW thin and puma: Internal server error occoures when attachment file name contains non ASCII added
Updated by micro bead over 9 years ago
- Status changed from Closed to Reopened
two chinese characters can work,but more than two ones will be wrong.
Updated by micro bead over 9 years ago
have solved the problem
open the following file and add some codes
D:\Bitnami\redmine-3.0.0-0\apps\redmine\htdocs\vendor\bundle\ruby\2.0.0\gems\actionpack-4.2.0\lib\action_dispatch\middleware
if match = paths.detect { |p|
path = File.join(test test, p)
begin
File.file?(path) && File.readable?(path)
rescue SystemCallError
false
rescue EncodingError
false
end
}
Updated by Toshi MARUYAMA over 9 years ago
- Status changed from Reopened to Closed
Updated by Toshi MARUYAMA over 9 years ago
- Resolution changed from Invalid to Duplicate
Updated by Toshi MARUYAMA over 9 years ago
I have created issue.
https://github.com/macournoyer/thin/issues/268#issuecomment-86508080