Project

General

Profile

Actions

Defect #19963

closed

if attachment's name includes Chinese,it can't be download.

Added by david chung almost 9 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

1.upload a attachment,filename includes Chinese, such as "(2)中文附件下载测试dump文件.doc",upload successfull.
2.try to download it,it's redirected to 500 error.


Files


Related issues

Is duplicate of Redmine - Defect #19374: MinGW thin and puma: Internal server error occoures when attachment file name contains non ASCIIClosed

Actions
Actions #1

Updated by david chung almost 9 years ago

david chung wrote:

1.upload a attachment,filename includes Chinese, such as "(2)中文附件下载测试dump文件.doc",upload successfull.
2.try to download it,it's redirected to 500 error.

I test it by bitnammi redmine installers(3.0.3) on windows.

Actions #2

Updated by Toshi MARUYAMA almost 9 years ago

  • Status changed from New to Closed
  • Priority changed from High to Normal
  • Resolution set to Duplicate

Duplicate of #19374.

Actions #3

Updated by Toshi MARUYAMA almost 9 years ago

  • Is duplicate of Defect #19374: MinGW thin and puma: Internal server error occoures when attachment file name contains non ASCII added
Actions #4

Updated by david chung over 8 years ago

I install bitnami-redmine-3.0.4-1-windows-installer.exe,Rails version is V4.2.3,but this bug is not fixed yet.Can anybody help me?
reproduce steps:
1.upload a attachment,files name is "服务器声卡驱动更新及服务器的配置文档.doc"
2.you can found it can't be download.

PS:On bitnami redmine 3.0.x for linux version,it cannot be reproduce.

Actions #5

Updated by Toshi MARUYAMA over 8 years ago

I cannot reproduce on my Japanese Windows thin.
Please contact bitnami team.

Gemfile.local

gem "thin" 

$ thin -e production -p 4000 start
>> Using rack adapter
DL is deprecated, please use Fiddle
>> Thin web server (v1.5.1 codename Straight Razor)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:4000, CTRL+C to stop
Started GET "/attachments/download/1/%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%A3%B0%E5%8D%A1%E9%A9%B1%E5%8A%A8%E6%9B%B4%E6%96%B0%E5%8F%8A%E6%9C%8D%E5%8A%A1%E5%99%A8%E7%9A%84%E9%85%8D%E7%BD%AE%E6%96%87%E6%A1%A3.doc" for 127.0.0.1 at 2015-07-17 15:43:04 +0900
Processing by AttachmentsController#download as HTML
  Parameters: {"id"=>"1", "filename"=>"服务器声卡驱动更新及服务器的配置文档.doc"}
  Current user: admin (id=1)
Sent file c:/workdir/hg-workdir/REDMINE/all/files/2015/07/150717154153_ac34e9bdbd4a20c1662bc2bc1d0f6ce7.doc (0.0ms)
Completed 200 OK in 0ms (ActiveRecord: 0.0ms)

Actions

Also available in: Atom PDF