Commit b2d78309 authored by Mark Chao's avatar Mark Chao

Merge branch 'dcouture-marshal-load-rubocop-comment' into 'master'

Add details to disabled rubocop

See merge request gitlab-org/gitlab!76166
parents a7d011da 98d0962e
......@@ -177,6 +177,8 @@ class ActiveSession
# Returns an ActiveSession object
def self.load_raw_session(raw_session)
# rubocop:disable Security/MarshalLoad
# Explanation of why this Marshal.load call is OK:
# https://gitlab.com/gitlab-com/gl-security/appsec/appsec-reviews/-/issues/124#note_744576714
Marshal.load(raw_session)
# rubocop:enable Security/MarshalLoad
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment