Closed GoogleCodeExporter closed 9 years ago
svn version 145. def test_taints str1 = "test string" str1.taint assert_equal true, str1.tainted? assert_equal true, str1[0...-1].tainted? assert_equal true, str1[0...1].tainted? assert_equal true, str1[0...2].tainted? assert_equal true, str1[0...3].tainted? assert_equal true, str1[0..0].tainted? assert_equal true, str1[0...0].tainted? # <- fail (pass with MRI) end
Original issue reported on code.google.com by djl.rif...@googlemail.com on 23 Oct 2007 at 1:18
djl.rif...@googlemail.com
Original comment by meaningi...@gmail.com on 25 Oct 2007 at 3:42
meaningi...@gmail.com
Original issue reported on code.google.com by
djl.rif...@googlemail.com
on 23 Oct 2007 at 1:18