summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcharlieablett <cablett@gitlab.com>2019-05-01 10:38:41 +1200
committercharlieablett <cablett@gitlab.com>2019-05-01 10:38:41 +1200
commit4b46b530829cc3dd82c2620a76fbe637ca9009c0 (patch)
tree0a077e44d882b0099be88a8677c28f107bd643cc /lib
parentf2bc55d76f278e492902bec99534600d589177b7 (diff)
downloadgitlab-ce-4b46b530829cc3dd82c2620a76fbe637ca9009c0.tar.gz
Add `html` to sensitive words
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/import_export/attribute_cleaner.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/attribute_cleaner.rb b/lib/gitlab/import_export/attribute_cleaner.rb
index 7f67f63f26b..7bdef2b6cdb 100644
--- a/lib/gitlab/import_export/attribute_cleaner.rb
+++ b/lib/gitlab/import_export/attribute_cleaner.rb
@@ -4,7 +4,7 @@ module Gitlab
module ImportExport
class AttributeCleaner
ALLOWED_REFERENCES = RelationFactory::PROJECT_REFERENCES + RelationFactory::USER_REFERENCES + ['group_id']
- PROHIBITED_SUFFIXES = %w(_id _html).freeze
+ PROHIBITED_SUFFIXES = %w[_id _html].freeze
def self.clean(*args)
new(*args).clean