Feature #39761
closed
With Ruby 3.3.0-preview3, one test fails.
Failure:
Redmine::WikiFormatting::CommonMark::SanitizationFilterTest#test_should_sanitize_html_strings [/path/to/redmine/test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb:125]:
--- expected
+++ actual
@@ -1 +1 @@
-"<b>Lorem</b> <a title=\"foo\">ipsum</a> <a href=\"http://foo.com/\"><strong>dolor</strong></a> sit<br>amet <script>alert(\"hello world\");"
+"<b>Lorem</b> <a title=\"foo\">ipsum</a> <a href=\"http://foo.com/\"><strong>dolor</strong></a> sit<br>amet script>alert(\"hello world\");"
bin/rails test test/unit/lib/redmine/wiki_formatting/common_mark/sanitization_filter_test.rb:123
- Assignee deleted (
Go MAEDA)
Go MAEDA wrote in #note-2:
With Ruby 3.3.0-preview3, one test fails.
[...]
All tests were successful in my environment. I cannot reproduce the same problem as yours.
Mizuki ISHIKAWA wrote in #note-4:
Go MAEDA wrote in #note-2:
With Ruby 3.3.0-preview3, one test fails.
[...]
All tests were successful in my environment. I cannot reproduce the same problem as yours.
Thank you, I confirmed that updating to Nokogiri 1.6.0 in r22576 fixed this issue.
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Resolution set to Fixed
Ruby 3.3 is now supported in r22609 and later.
Also available in: Atom
PDF