Project

General

Profile

Defect #26681

Updated by Toshi MARUYAMA over 6 years ago

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: 

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

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

 Thank you.

Back