プロジェクト

全般

プロフィール

Vote #81789

未完了

Infinite loop on PDF export if image included with attributes

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Confirmed
優先度:
通常
担当者:
-
カテゴリ:
PDF export_39
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
39
version_id:
0
issue_org_id:
36452
author_id:
29628
assigned_to_id:
0
comments:
2
status_id:
9
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
170
ステータス-->[Confirmed]

説明

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":https://github.com/naitoh/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

journals

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.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

Admin Redmine さんがほぼ2年前に更新

  • カテゴリPDF export_39 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0