Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/import_export/config.rb')
-rw-r--r--lib/gitlab/import_export/config.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/import_export/config.rb b/lib/gitlab/import_export/config.rb
index 423e0933605..e1a62e3b25a 100644
--- a/lib/gitlab/import_export/config.rb
+++ b/lib/gitlab/import_export/config.rb
@@ -52,7 +52,7 @@ module Gitlab
end
def parse_yaml
- YAML.load_file(@config)
+ YAML.safe_load_file(@config, aliases: true, permitted_classes: [Symbol])
end
end
end