# 4.0.4 2019-06-10 * Defect #29259: Attachment preview does not work for some source files such as JavaScript and Go * Defect #30441: Attachments with Unicode uppercase names are not shown in wiki pages * Defect #30850: Unified diff link broken on specific file/revision diff view * Patch #31113: Update Rails to 5.2.3 * Defect #31268: Fix gaps in resizable gantt chart * Defect #31275: Safari adds .html extension when downloading files of unknown type * Defect #31285: Syntax highlighting does not work for attachments with .pl extension * Defect #31330: Import issues: File content preview block is scrolling * Defect #31337: Explicitly load redmine/info in order to avoid "uninitialized constant" error * Defect #31365: Issue subject may be broken if the subject field in the receiving email is split into multiple lines * Defect #31438: Incorrect position of the "Associated revisions" block when comments are displayed in reverse chronological order * Defect #31511: CSV export of time entries report does not honor project filter