Project

General

Profile

Actions

Defect #36452

closed

Infinite loop on PDF export if image included with attributes

Added by Alexander Meindl over 2 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
PDF export
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

If an image is included in an issue (or wiki page) and attributes are used for height and width, this causes an infinite loop on PDF export.

Here is an example:

!{height: 501px; width: 916px;}20220110-091538-244.png!

This looks like this is a bug in rbpdf, which can be related with https://github.com/naitoh/rbpdf/issues/62

Tested with:

  • Redmine 4.2.3 and Redmine trunk
  • Ruby 2.7.5

Related issues

Related to Redmine - Patch #38272: Update RBPDF to 1.21ClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF