Project

General

Profile

Actions

Defect #43371

open

Icon images are not displayed in the text editor

Added by f0x Autumn 1 day ago. Updated 1 day ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Icon images are not displayed in the text editor.

Environment:

  • Redmine version 6.1.0.stable
  • Ruby version 3.3.8-p144 (2025-04-09) [x86_64-linux-gnu]
  • Rails version 7.2.2.2
  • Environment production
  • Database adapter PostgreSQL
  • Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
  • Mailer delivery smtp

Redmine settings:

  • Redmine theme Default

SCM:

  • Mercurial 7.0.1
  • Git 2.47.3
  • Filesystem

Redmine plugins:

  • redmine_wiki_extensions 1.1.0

Screen:

text editor screen

:(


Files

firefox_NMfWkoI2UH.jpg (127 KB) firefox_NMfWkoI2UH.jpg text editor screen f0x Autumn, 2025-10-20 18:02
Actions #1

Updated by f0x Autumn 1 day ago

bundle exec rake assets:precompile RAILS_ENV=production
- not helped

Actions #2

Updated by f0x Autumn 1 day ago

According to the messages in the browser's debug console, the issue appears to be with the virtual host configuration in Apache2 (?):

GET
https://my_site_url/assets/jstoolbar/underline-7f1532c4.svg
[HTTP/1.1 403 Forbidden 1ms]

For some reason, after upgrading from 5.1.x or 6.0.7 to 6.1.0, the Redmine root, which should be https://my_site_url/redmine/ and consequently
https://my_site_url/redmine/assets/jstoolbar/underline-7f1532c4.svg, is being ignored for the /var/www/redmine/assets directory.

However, I have not changed the Apache2 virtual host configuration since the beginning, for all Redmine versions I've used since 4.x.x.

Currently digging in this direction.

Actions #3

Updated by f0x Autumn 1 day ago

Exactly. The issue was in the order of Apache directive processing. The <LocationMatch "^(?!/(redmine|dokuwiki))"> directive was blocking access BEFORE the request could reach Passenger.

Solution: Move the restrictive LocationMatch directive below the Redmine configuration blocks to prevent it from blocking access BEFORE the request reaches Passenger.

Issue is resolved, can be closed.

Actions

Also available in: Atom PDF