• Ahmad Sherif's avatar
    Fix the leak mentioned in 504a3b5e by another way · ca823aba
    Ahmad Sherif authored
    The previous fix introduced another leak; as it made
    Banzai::Filter::SanitizationFiler#customized? always return false, so we
    were always appending two elements to
    HTML::Pipeline::SanitizationFilter::WHITELIST[:elements]. This growth in
    the elements array would slow the sanitization process over time.
    ca823aba
sanitization_filter.rb 2.71 KB