Project

General

Profile

Actions

Defect #26681

closed

disk_filename of attachment when issue is created via mail

Added by Felix Muster over 7 years ago. Updated over 7 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hello,

when an issue with attachment is created via mail, the disk_filename of this attachment get created with an hash-function.

I think this is the code.
\xampp\Redmine\app\models\attachment.rb line 369:

    if filename =~ %r{^[a-zA-Z0-9_\.\-]*$}
      ascii = filename
    else
      ascii = Digest::MD5.hexdigest(filename)
      # keep the extension if any

How can I use the real filename? Like it's done with the other issues.

Thank you.


Files

example.png (15.3 KB) example.png Felix Muster, 2017-08-14 15:24
Actions

Also available in: Atom PDF