FIX: Ensure we have a patched version of CGI gem (#19588)

* FIX: Ensure we have a patched version of CGI gem

Per https://github.com/ruby/cgi/pull/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>
This commit is contained in:
Rafael dos Santos Silva 2022-12-22 19:52:20 -03:00 committed by GitHub
parent 46b51ade83
commit e430f22936
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -272,3 +272,5 @@ gem 'faraday-retry'
gem 'net-http' gem 'net-http'
gem 'webrick', require: false gem 'webrick', require: false
gem "cgi", ">= 0.3.6", require: false

View File

@ -97,6 +97,7 @@ GEM
xpath (~> 3.2) xpath (~> 3.2)
cbor (0.5.9.6) cbor (0.5.9.6)
certified (1.0.0) certified (1.0.0)
cgi (0.3.6)
chunky_png (1.4.0) chunky_png (1.4.0)
coderay (1.1.3) coderay (1.1.3)
colored2 (3.1.2) colored2 (3.1.2)
@ -517,6 +518,7 @@ DEPENDENCIES
capybara capybara
cbor cbor
certified certified
cgi (>= 0.3.6)
colored2 colored2
cose cose
cppjieba_rb cppjieba_rb