Project

General

Profile

Actions

Defect #35441

closed

Inline image in Textile is not displayed if the image URL contains ampersands

Added by Brice Beaumesnil almost 3 years ago. Updated almost 3 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Hello,

In my projects, i include Sonar Badges (images without extension) in project's description with

!!
(textile)

But since redmine 4.2 this include don't work anymore.
I test on new fresh redmine installation too (REDMINE 4.2.1 on ruby 2.7.3) : the same result, no image.

If i tried with markdown format : i have the image.

A Sonar Badget have this format : https://sonarqube.dev.mydomain/api/project_badges/measure?project=fr.mydomain.myproject%3Amyproject&metric=alert_status : no file extension (i think it's the problem because if i try an image with an extension, the image is include on the page)

This include works fine in redmine 4.1 and before

thanks


Files

redmine4.2.1-Ruby2.7.3.png (22.9 KB) redmine4.2.1-Ruby2.7.3.png Brice Beaumesnil, 2021-06-24 17:50
35441.patch (1.28 KB) 35441.patch Yuichi HARADA, 2021-07-02 04:56
35441-v2.patch (1.43 KB) 35441-v2.patch Go MAEDA, 2021-07-24 08:59

Related issues

Related to Redmine - Feature #31500: Ruby 2.7 supportClosedGo MAEDA

Actions
Related to Redmine - Defect #29681: "x%x%" is rendered as "&" in Textile formatterNew

Actions
Actions

Also available in: Atom PDF