Skip to content
  • Ahmad Sherif's avatar
    ca823aba
    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
    Fix the leak mentioned in 504a3b5e by another way
    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.
To find the state of this project's repository at the time of any of these versions, check out the tags.
Loading