ActiveSupport::Multibyte utils test failures
--------------------------------------------

                 Key: JRUBY-3948
                 URL: http://jira.codehaus.org/browse/JRUBY-3948
             Project: JRuby
          Issue Type: Bug
          Components: HelpWanted
    Affects Versions: JRuby 1.3.1
            Reporter: Nick Sieger
            Assignee: Thomas E Enebo


We ran activesupport cleanly at some point, but we have a couple of new test 
failures due to the [recent UTF-8 XSS vulnerability 
issue|http://weblog.rubyonrails.org/2009/9/4/xss-vulnerability-in-ruby-on-rails].
 They look like kcode issues.

{noformat}
  1) Failure:
test_clean_cleans_invalid_characters_from_UTF-8_encoded_strings(MultibyteUtilsTest)
    [./test/multibyte_utils_test.rb:73:in 
`test_clean_cleans_invalid_characters_from_UTF-8_encoded_strings'
     
/Users/nicksieger/Projects/ruby/rails/activesupport/test/abstract_unit.rb:22:in 
`with_kcode'
     ./test/multibyte_utils_test.rb:71:in 
`test_clean_cleans_invalid_characters_from_UTF-8_encoded_strings'
     
/Users/nicksieger/Projects/ruby/rails/activesupport/test/../lib/active_support/testing/setup_and_teardown.rb:62:in
 `run']:
<"&#12371;&#12395;&#12385;&#12431;"> expected but was
<"">.

  2) Failure:
test_verify_verifies_Shift-JIS_strings_are_properly_encoded(MultibyteUtilsTest)
    [./test/multibyte_utils_test.rb:38:in 
`test_verify_verifies_Shift-JIS_strings_are_properly_encoded'
     
/Users/nicksieger/Projects/ruby/rails/activesupport/test/abstract_unit.rb:22:in 
`with_kcode'
     ./test/multibyte_utils_test.rb:37:in 
`test_verify_verifies_Shift-JIS_strings_are_properly_encoded'
     
/Users/nicksieger/Projects/ruby/rails/activesupport/test/../lib/active_support/testing/setup_and_teardown.rb:62:in
 `run']:
{noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to