Actions
Defect #36452
closedInfinite loop on PDF export if image included with attributes
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
Updated by Alexander Meindl almost 3 years 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.
Updated by Go MAEDA almost 2 years ago
- Related to Patch #38272: Update RBPDF to 1.21 added
Updated by Jun NAITOH almost 2 years ago
I fixed it with rbpdf 1.21.0.
The fixed issues is as follows.Updated by Go MAEDA almost 2 years ago
- Status changed from Confirmed to Closed
- Assignee set to Go MAEDA
- Target version set to 4.2.10
- Resolution set to Fixed
Actions