Project

General

Profile

Actions

Defect #31857

closed

"DEPRECATION WARNING: warning: white_list_sanitizer isdeprecated" while running tests

Added by Go MAEDA over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Code cleanup/refactoring
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

You can reproduce it with rails-html-sanitizer 1.1.0. Run bundle update rails-html-sanitizer before testing.

$ ruby test/unit/lib/redmine/field_format/field_format_test.rb
Run options: --seed 28405

# Running:

.......DEPRECATION WARNING: warning: white_list_sanitizer isdeprecated, please use safe_list_sanitizer instead. (called from formatted_value at /Users/maeda/redmines/trunk/lib/redmine/field_format.rb:409)
...
Actions #1

Updated by Yuichi HARADA over 5 years ago

Since rails-html-sanitizer 1.2.0 has been released, "DEPRECATION WARNING:" message will no longer be displayed.
https://github.com/rails/rails-html-sanitizer/compare/v1.1.0...v1.2.0

Actions #2

Updated by Go MAEDA over 5 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Yuichi HARADA wrote:

Since rails-html-sanitizer 1.2.0 has been released, "DEPRECATION WARNING:" message will no longer be displayed.
https://github.com/rails/rails-html-sanitizer/compare/v1.1.0...v1.2.0

Confirmed. Thanks.

Actions

Also available in: Atom PDF