Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
98d0962e
Commit
98d0962e
authored
Dec 07, 2021
by
Dominic Couture
Committed by
Mark Chao
Dec 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add details to disabled rubocop
parent
5f70b3a4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
app/models/active_session.rb
app/models/active_session.rb
+2
-0
No files found.
app/models/active_session.rb
View file @
98d0962e
...
@@ -177,6 +177,8 @@ class ActiveSession
...
@@ -177,6 +177,8 @@ class ActiveSession
# Returns an ActiveSession object
# Returns an ActiveSession object
def
self
.
load_raw_session
(
raw_session
)
def
self
.
load_raw_session
(
raw_session
)
# rubocop:disable Security/MarshalLoad
# 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
)
Marshal
.
load
(
raw_session
)
# rubocop:enable Security/MarshalLoad
# rubocop:enable Security/MarshalLoad
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment