noosfero | WIP: Rails 5.1.6 Upgrade (!1438)

Álax Alves gitlab at mg.gitlab.com
Thu Jun 28 16:11:15 BRT 2018


Álax Alves commented on a 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

Solved in 5dcc4a6cb1e55e4154c435909338aa9a5d3f88e5

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1438#note_84867973
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/20180628/3847c065/attachment-0001.html>


More information about the Noosfero-dev mailing list