Open zelivans opened 5 years ago
Specifically trying to whitelist WEBrick::HTTPStatus::Status fails for WEBrick::HTTPStatus::BadRequest although whitelisting StandardError works just okay.
WEBrick::HTTPStatus::Status
WEBrick::HTTPStatus::BadRequest
StandardError
Could be related to rb_obj_is_kind_of? See https://github.com/ruby/webrick/blob/master/lib/webrick/httpstatus.rb
rb_obj_is_kind_of
Specifically trying to whitelist
WEBrick::HTTPStatus::Status
fails forWEBrick::HTTPStatus::BadRequest
although whitelistingStandardError
works just okay.Could be related to
rb_obj_is_kind_of
? See https://github.com/ruby/webrick/blob/master/lib/webrick/httpstatus.rb