Closed GoogleCodeExporter closed 9 years ago
Ruby.exe and RubyCompiler.exe. svn 136 def test_postmatch_taint str1 = "xyz" str1 =~ /./ assert_equal false, $~.post_match.tainted? str1.taint str1 =~ /./ # Fails with Ruby.exe and RubyCompiler.exe. Ok with MRI assert_equal true, $~.post_match.tainted? end def test_prematch_taint str1 = "xyz" str1 =~ /y/ assert_equal false, $~.pre_match.tainted? str1.taint str1 =~ /y/ # Fails with Ruby.exe and RubyCompiler.exe. Ok with MRI assert_equal true, $~.pre_match.tainted? end
Original issue reported on code.google.com by djl.rif...@googlemail.com on 22 Oct 2007 at 6:52
djl.rif...@googlemail.com
Original comment by meaningi...@gmail.com on 23 Oct 2007 at 5:51
meaningi...@gmail.com
Original issue reported on code.google.com by
djl.rif...@googlemail.com
on 22 Oct 2007 at 6:52