[MacRuby/MacRuby] 2099c4: String#scan will copy status of taint/untrust.
24 Apr
2011
24 Apr
'11
12:46 p.m.
Branch: refs/heads/master Home: https://github.com/MacRuby/MacRuby Commit: 2099c43a78f24f5108ba7205a4a1933c17202661 https://github.com/MacRuby/MacRuby/commit/2099c43a78f24f5108ba7205a4a1933c17... Author: Watson <watson1978@gmail.com> Date: 2011-04-24 (Sun, 24 Apr 2011) Changed paths: R spec/frozen/tags/macruby/core/string/scan_tags.txt M string.c Log Message: ----------- String#scan will copy status of taint/untrust. Test Script: {{{ require 'test/unit/assertions.rb' include Test::Unit::Assertions str = "hello" str.taint str.untrust a = "hello hello hello".scan(str) a.each { |m| assert_equal(true, m.tainted?) assert_equal(true, m.untrusted?) } puts :ok }}}
5312
Age (days ago)
5312
Last active (days ago)
0 comments
1 participants
participants (1)
-
noreply@github.com