Strictly check the type loaded from YAML
Feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8088#note_20062470
Eventually we should move to SafeYAML, but requiring that
would impact all other `YAML.load` which is bad. For this
particular case, I think we could just check it strictly.
Showing
Please
register
or
sign in
to comment