[Hiki-dev:00522] rss-show プラグインが $SAFE=1 で動作しない

Back to archive index

MACHIDA Hideki h****@match*****
2004年 4月 3日 (土) 23:16:41 JST


町田と申します。

現在の CVS HEAD は $SAFE = 1 になっていますが、rss-show プラ
グインが正常動作しないようです。

とりあえず手元で対処した patch を添付しますので、ご対応頂け
ると助かります。

以上、よろしくお願いします。

-- 
町田 秀企
http://www.matchy.net/
mailto:h****@match*****
PGP fingerprint : FC05 7475 B836 5334 DF7C  9D18 9B26 CB64 95C2 0CC6
PGP public key : http://www.matchy.net/data/pgp_publickey.asc
-------------- next part --------------
Index: rss-show.rb
===================================================================
RCS file: /cvsroot/hiki/hiki/misc/plugin/rss-show.rb,v
retrieving revision 1.2
diff -u -r1.2 rss-show.rb
--- rss-show.rb	15 Feb 2004 02:48:35 -0000	1.2
+++ rss-show.rb	3 Apr 2004 14:06:14 -0000
@@ -11,7 +11,7 @@
 require 'nkf'
 
 def rss_show(url, cache_time = 1800)
-  if rss = rss_get(url, cache_time)
+  if rss = rss_get(url.untaint, cache_time)
     items = rss_parse(rss)
     rss_format_items(items)
   else


Hiki-dev メーリングリストの案内
Back to archive index