summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorAhmad Sherif <me@ahmadsherif.com>2016-09-21 15:55:04 +0200
committerAhmad Sherif <me@ahmadsherif.com>2016-09-23 15:29:28 +0200
commitca823abacd85f3b78d4b0aeb3e07fdc7a39f090d (patch)
tree6c1842084325cfd307e8c5d270f61732370d743f /shared
parent0fe33f925a26c5004080a0102e6665fc8012a67d (diff)
downloadgitlab-ce-ca823abacd85f3b78d4b0aeb3e07fdc7a39f090d.tar.gz
Fix the leak mentioned in 504a3b5 by another way
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.
Diffstat (limited to 'shared')
0 files changed, 0 insertions, 0 deletions