Skip to content

Commit

Permalink
* tdiary.rb: taint Plugin instance.
Browse files Browse the repository at this point in the history
git-svn-id: https://tdiary.svn.sourceforge.net/svnroot/tdiary/trunk/core@1153 7f22e88f-374d-0410-998f-c91420d97ba2
  • Loading branch information
tadatadashi committed Feb 16, 2003
1 parent 92790e6 commit ee3552c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions ChangeLog
@@ -1,5 +1,6 @@
2003.02.16 TADA Tadashi <sho@spc.gr.jp>
* tdiary_style.rb: fix bug when subtitle has only category.
* tdiary.rb: taint Plugin instance.

2003.02.13 TADA Tadashi <sho@spc.gr.jp>
* 00deffault.rb: hide preferences in navi_admin when categorized view.
Expand Down
5 changes: 3 additions & 2 deletions tdiary.rb
@@ -1,12 +1,12 @@
=begin
== NAME
tDiary: the "tsukkomi-able" web diary system.
tdiary.rb $Revision: 1.88 $
tdiary.rb $Revision: 1.89 $
Copyright (C) 2001-2003, TADA Tadashi <sho@spc.gr.jp>
=end

TDIARY_VERSION = '1.5.2.20030212'
TDIARY_VERSION = '1.5.2.20030216'

require 'cgi'
require 'nkf'
Expand Down Expand Up @@ -602,6 +602,7 @@ def initialize( params )
end

def eval_src( src, secure )
self.taint
@body_enter_procs.taint
@body_leave_procs.taint
return Safe::safe( secure ? 4 : 1 ) do
Expand Down

0 comments on commit ee3552c

Please sign in to comment.