Skip to content

Commit

Permalink
FIX: Ensure we have a patched version of CGI gem (#19588)
Browse files Browse the repository at this point in the history
* FIX: Ensure we have a patched version of CGI gem

Per ruby/cgi#29 the current shipped version of
the CGI gem doesn't allow for leading dots in domain names, which breaks
setting cookies like `.example.com`.

* Update Gemfile

Co-authored-by: Jarek Radosz <jradosz@gmail.com>

Co-authored-by: Jarek Radosz <jradosz@gmail.com>
  • Loading branch information
xfalcox and CvX committed Dec 22, 2022
1 parent 46b51ad commit e430f22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -272,3 +272,5 @@ gem 'faraday-retry'
gem 'net-http'

gem 'webrick', require: false

gem "cgi", ">= 0.3.6", require: false
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ GEM
xpath (~> 3.2)
cbor (0.5.9.6)
certified (1.0.0)
cgi (0.3.6)
chunky_png (1.4.0)
coderay (1.1.3)
colored2 (3.1.2)
Expand Down Expand Up @@ -517,6 +518,7 @@ DEPENDENCIES
capybara
cbor
certified
cgi (>= 0.3.6)
colored2
cose
cppjieba_rb
Expand Down

0 comments on commit e430f22

Please sign in to comment.