#119: Ruby-1.8.7 で Secure モードが動いていない (Open)
7月 27 2008 * 20:11
| 報告者: | 担当者: | sho | |
|---|---|---|---|
| 優先度: | Critical | マイルストーン: | 2.2.2 |
| Release: | 2.2.1 | Component: | core |
Debian(lenny)にて Ruby-1.8.7 と deb パッケージによる tDiary-2.2.1 の環境において
@secure = true
にすると以下のエラーが発生し、日記が表示されない。
500 Internal Server Error Insecure operation `[]' at level 4 (SecurityError) /path/to/tdiary/core/tdiary.rb:63:in `[]' /path/to/tdiary/core/tdiary.rb:105:in `join' /path/to/tdiary/core/tdiary.rb:105:in `safe' /path/to/tdiary/core/tdiary.rb:749:in `eval_src' /path/to/tdiary/core/tdiary.rb:1095:in `do_eval_rhtml' /path/to/tdiary/core/tdiary.rb:1037:in `eval_rhtml' /path/to/tdiary/core/index.rb:74 /home/public_html/stable/index.rb:7:in `require' /home/public_html/stable/index.rb:7
変更記録:
が変更 – 7月 27 2008 * 20:52
- Release 2.2.1に設定
- マイルストーン 2.2.2に設定
- Component coreに設定
- 優先度 NormalからCriticalへ変更
が変更 – 7月 28 2008 * 21:13
少し調べました。 一度データを全て消した状態で再度表示や追記を試したところどちらも成功しました。 実は @secure は途中から変更できないものなのでしょうか?
ちなみに情報が漏れていましたが 1.8.7-p22 です。


RSSフィード一覧