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
ca5b2234
Commit
ca5b2234
authored
May 07, 2020
by
Heinrich Lee Yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set use_cookies_with_metadata to true
This is the new Rails default
parent
bdcb35b5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
changelogs/unreleased/197344-use-cookies-with-metadata.yml
changelogs/unreleased/197344-use-cookies-with-metadata.yml
+5
-0
config/initializers/cookies_serializer.rb
config/initializers/cookies_serializer.rb
+1
-1
No files found.
changelogs/unreleased/197344-use-cookies-with-metadata.yml
0 → 100644
View file @
ca5b2234
---
title
:
Use cookies with metadata to prevent reuse as another cookie
merge_request
:
31311
author
:
type
:
other
config/initializers/cookies_serializer.rb
View file @
ca5b2234
# Be sure to restart your server when you modify this file.
Rails
.
application
.
config
.
action_dispatch
.
use_cookies_with_metadata
=
fals
e
Rails
.
application
.
config
.
action_dispatch
.
use_cookies_with_metadata
=
tru
e
Rails
.
application
.
config
.
action_dispatch
.
cookies_serializer
=
:hybrid
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