Defect #36452

Infinite loop on PDF export if image included with attributes

Added by Alexander Meindl 9 months ago. Updated 9 months ago.

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


Category:PDF export
Target version:-
Resolution: Affected version:4.2.3


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

Tested with:

  • Redmine 4.2.3 and Redmine trunk
  • Ruby 2.7.5


#1 Updated by Alexander Meindl 9 months ago

The image does not even exist, just this line above is enough to run in an infinite loop on PDF export. No plugins are installed with my tests.

#2 Updated by Go MAEDA 9 months ago

  • Status changed from New to Confirmed

Also available in: Atom PDF