noosfero | WIP: Rails 5.1.6 Upgrade (!1438)
Gabriel Silva
gitlab at mg.gitlab.com
Tue Jun 26 10:39:42 BRT 2018
Gabriel Silva started a new discussion on app/helpers/sanitize_helper.rb:
> end
>
> def sanitizer type = :full_sanitize
> - return HTML::WhiteListSanitizer.new if type == :white_list
> - HTML::FullSanitizer.new
> + white_list_sanitizer = Rails::Html::WhiteListSanitizer.new
> + full_sanitizer = Rails::Html::FullSanitizer.new
move this instantiation to after the first return.
--
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1438#note_84257107
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20180626/c12ebf7a/attachment.html>
More information about the Noosfero-dev
mailing list