プロジェクト

全般

プロフィール

Vote #78706

完了

Corrupted file name when exporting a wiki page with Non-ASCII title using Microsoft's browsers

Admin Redmine さんが約4年前に追加. 約4年前に更新.

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

0%

予定工数:
category_id:
1
version_id:
131
issue_org_id:
26599
author_id:
332
assigned_to_id:
0
comments:
4
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
129
ステータス-->[Closed]

説明

Steps to reproduce:

  1. Create a wiki page with Non-ASCII title (e.g. "日本語").
  2. Open the wiki page using Microsoft Edge or Internet Explorer.
  3. Click "TXT" in "Also available in" area.
  4. The page will be exported but its file name is corrupted.

!currepted-filename.png!


journals

--------------------------------------------------------------------------------
Patch for this issue.
--------------------------------------------------------------------------------
If you write non ascii characters in source, you need to encode "\xnn" or add "# encoding: utf-8" header for Ruby version compatibility.

source:tags/3.3.4/test/unit/lib/redmine/i18n_test.rb#L192
source:tags/3.3.4/test/unit/helpers/application_helper_test.rb#L1
--------------------------------------------------------------------------------
Committed in trunk, 3.4-stalbe, and 3.3-stable, thanks.
--------------------------------------------------------------------------------

Admin Redmine さんが約4年前に更新

  • カテゴリWiki_1 にセット
  • 対象バージョン3.3.5_131 にセット

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

いいね!0
いいね!0