Defect #31936

Cannot download issue-attachments that contains one or more “+” (Plus Sign) characters

Added by Rahul Patil over 2 years ago. Updated over 2 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Attachments
Target version:-
Resolution: Affected version:4.0.4

Description

To recreate it - just create an Issue, create a text file with any name containing "+" (plus sign) e.g. "Test+File.txt" and attach that file to the issue and submit.
After that open that issue, and try to download that file. It will show "404 - File or directory not found." error.
Then edit the attachments - rename the file to "Test_File.txt", and then try downloading it - it will get downloaded without any issues.

Test+File.txt Magnifier (9 Bytes) Rahul Patil, 2019-08-22 14:27

2019-08-22_1811.png (13.7 KB) Rahul Patil, 2019-08-22 14:42

History

#1 Updated by Rahul Patil over 2 years ago

#2 Updated by Rahul Patil over 2 years ago

Environment:
Redmine version 4.0.4.stable
Ruby version 2.5.5-p157 (2019-03-15) [x64-mingw32]
Rails version 5.2.3
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.10.4
Filesystem
Redmine plugins:
no plugin installed

#3 Updated by Rahul Patil over 2 years ago

#4 Updated by Rahul Patil over 2 years ago

It is installed on Windows-Server-2016, using latest Bitnami Stack.

Also available in: Atom PDF