From: TADA T. <sh...@sp...> - 2004-02-27 09:50:19
|
ただただしです。 最近、プラグインの実行順序が原因のトラブルが増えているので、根本的な解決 を図ろうと思います。できれば1.5.7に入れたい。 その方策とは、update_procの呼び出しをskelの外に出して、(セキュアモードで も)セキュアでない状態で実行しようというものです。 現在、セキュアモードでのファイルの読み書き等の処理は、プラグインの地の文 で行うという裏技的な手法が使われていますが、これをupdate_procを使うよう にしたい。これによって、すべてのプラグインがきちんと読み込まれたあとで update_procが走ることが保証されるので、現在各地でおきているようなエラー が出なくなります(たぶん)。 ただ、一歩間違えるとセキュリティホールになりかねないので、この方法が良い のかどうか、イマイチ自信がありません(^^; チェックして下さると助かります。 とりあえずtdiary.rbとskelの修正だけしてcommitします(1.5.6.20040227)。満 足に動くかどうかわかりません。対応すべきプラグインの修正は、ぼちぼちやり ます。 ━━━━━━━━━━━━━━━━━ ただただし <http://sho.spc.gr.jp/> ♪ツッコミは、短く鋭く愛を込めて。 ━━━━━━━━━━━━━━━━━ |