Created
May 28, 2023 02:52
-
-
Save JoeDupuis/1d219656f4d9d6dd3421e98b4eb00eea to your computer and use it in GitHub Desktop.
Repro 48195 - Cookies are being set incorrectly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rack/response' | |
run ->(env) do | |
response = Rack::Response[200,{},[]] | |
response.set_cookie('Cookie1', 123) | |
response.set_cookie('Cookie2', 123) | |
response.to_a | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "http://rubygems.org" | |
git_source(:github) { |repo| "https://github.com/#{repo}.git" } | |
gem "puma", "~> 5.0" | |
gem "rack", ENV["RACK_2"] ? "~> 2.2.7" : "~> 3.0.7" | |
gem "rackup" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment