Projects
Mega:23.09
rubygem-rack
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 3
View file
_service:tar_scm:rubygem-rack.spec
Changed
@@ -2,9 +2,9 @@ %bcond_with bootstrap Name: rubygem-%{gem_name} -Version: 2.2.3.1 +Version: 2.2.4 Epoch: 1 -Release: 2 +Release: 1 Summary: A modular Ruby webserver interface License: MIT and BSD URL: https://rack.github.io/ @@ -101,6 +101,9 @@ %doc %{gem_instdir}/contrib %changelog +* Thu Aug 17 2023 wulei <wu_lei@hoperun.com> - 1:2.2.4-1 +- Upgrade to version 2.2.4 + * Tue Jun 13 2023 bizhiyuan <bizhiyuan@kylinos.cn> - 1:2.2.3.1-2 - Type:CVES - ID:CVE-2023-27539 CVE-2023-27530
View file
_service
Changed
@@ -2,7 +2,7 @@ <service name="tar_scm"> <param name="url">git@gitee.com:src-openeuler/rubygem-rack.git</param> <param name="scm">git</param> - <param name="revision">openEuler-23.09</param> + <param name="revision">master</param> <param name="exclude">*</param> <param name="extract">*</param> </service>
View file
_service:tar_scm:rack-2.2.3.1.gem/checksums.yaml.gz -> _service:tar_scm:rack-2.2.4.gem/checksums.yaml.gz
Changed
@@ -1,7 +1,7 @@ --- SHA256: - metadata.gz: cd07394d5db5fbf3068cc076eea4059190c06a6e466de13383400bec4ff12e52 - data.tar.gz: ae077819a035b88761b3fffe4f48d948c05e88d2b4942a6589216d929936a47d + metadata.gz: 562d6b2cb433ea758545c29074629d82b364bf197dfab096c1821ffb72928e3c + data.tar.gz: 5adf005621955c2a5a524f966603c2d8c0f7cf640f6fff4439d024a921f69c4a SHA512: - metadata.gz: 405db34fbc0eca9a8cf15a7887c73a939b33fc25b1283fbc4791a2fbd25053565a19ad891c0b3704b0120157b118997a08b627b856de1dfc088705759930ced2 - data.tar.gz: 98d7b2f6277118a8fa4b7dd7f43eafbc5c4724474b1bb481f798df97b688ec13b61d821d62c04f5839a96ffd298d4a6a2e22f6e2be6d54b0f8485bee37372bc7 + metadata.gz: c8a134688af4df517e1483bca22c63582e5b29d6d4f2b71c11b220ee57642d046a4188038a45d02e20357b6823c7938c57aa45fd88f504732a76b58c6bf70eb7 + data.tar.gz: 81164557b5a8e25d35ff7f2e2889ea7e6eb04df8a23b42513fdcffa7d85dfd07f925372c703f5bf6a9a1fea2f3b842de5565cb0608d713b4cfe81440007e1d2e
View file
_service:tar_scm:rack-2.2.3.1.gem/data/CHANGELOG.md -> _service:tar_scm:rack-2.2.4.gem/data/CHANGELOG.md
Changed
@@ -2,13 +2,22 @@ All notable changes to this project will be documented in this file. For info on how to format all future additions to this file please reference Keep A Changelog(https://keepachangelog.com/en/1.0.0/). +## 2.2.4 - 2022-06-30 + +- Better support for lower case headers in `Rack::ETag` middleware. (#1919(https://github.com/rack/rack/pull/1919), @ioquatix(https://github.com/ioquatix)) +- Use custom exception on params too deep error. (#1838(https://github.com/rack/rack/pull/1838), @simi(https://github.com/simi)) + ## 2.2.3.1 - 2022-05-27 +### Security + - CVE-2022-30123 Fix shell escaping issue in Common Logger - CVE-2022-30122 Restrict parsing of broken MIME attachments ## 2.2.3 - 2020-02-11 +### Security + - CVE-2020-8184 Only decode cookie values ## 2.2.2 - 2020-02-11
View file
_service:tar_scm:rack-2.2.3.1.gem/data/lib/rack/etag.rb -> _service:tar_scm:rack-2.2.4.gem/data/lib/rack/etag.rb
Changed
@@ -26,6 +26,8 @@ def call(env) status, headers, body = @app.call(env) + headers = Utils::HeaderHashheaders + if etag_status?(status) && etag_body?(body) && !skip_caching?(headers) original_body = body digest, new_body = digest_body(body)
View file
_service:tar_scm:rack-2.2.3.1.gem/data/lib/rack/lint.rb -> _service:tar_scm:rack-2.2.4.gem/data/lib/rack/lint.rb
Changed
@@ -48,10 +48,10 @@ ## and returns an Array of exactly three values: ary = @app.call(env) - assert("response #{ary.inspect} is not an Array , but #{ary.class}") { + assert("response is not an Array, but #{ary.class}") { ary.kind_of? Array } - assert("response array #{ary.inspect} has #{ary.size} elements instead of 3") { + assert("response array has #{ary.size} elements instead of 3") { ary.size == 3 }
View file
_service:tar_scm:rack-2.2.3.1.gem/data/lib/rack/query_parser.rb -> _service:tar_scm:rack-2.2.4.gem/data/lib/rack/query_parser.rb
Changed
@@ -16,6 +16,10 @@ # sequence. class InvalidParameterError < ArgumentError; end + # ParamsTooDeepError is the error that is raised when params are recursively + # nested over the specified limit. + class ParamsTooDeepError < RangeError; end + def self.make_default(key_space_limit, param_depth_limit) new Params, key_space_limit, param_depth_limit end @@ -81,7 +85,7 @@ # the structural types represented by two different parameter names are in # conflict, a ParameterTypeError is raised. def normalize_params(params, name, v, depth) - raise RangeError if depth <= 0 + raise ParamsTooDeepError if depth <= 0 name =~ %r(\A\\*(^\\+)\*) k = $1 || '' @@ -168,7 +172,7 @@ def =(key, value) @size += key.size if key && !@params.key?(key) - raise RangeError, 'exceeded available parameter key space' if @size > @limit + raise ParamsTooDeepError, 'exceeded available parameter key space' if @size > @limit @paramskey = value end
View file
_service:tar_scm:rack-2.2.3.1.gem/data/lib/rack/utils.rb -> _service:tar_scm:rack-2.2.4.gem/data/lib/rack/utils.rb
Changed
@@ -22,6 +22,9 @@ COMMON_SEP = QueryParser::COMMON_SEP KeySpaceConstrainedParams = QueryParser::Params + RFC2822_DAY_NAME = 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat' + RFC2822_MONTH_NAME = 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' + class << self attr_accessor :default_query_parser end @@ -327,8 +330,8 @@ # weekday and month. # def rfc2109(time) - wday = Time::RFC2822_DAY_NAMEtime.wday - mon = Time::RFC2822_MONTH_NAMEtime.mon - 1 + wday = RFC2822_DAY_NAMEtime.wday + mon = RFC2822_MONTH_NAMEtime.mon - 1 time.strftime("#{wday}, %d-#{mon}-%Y %H:%M:%S GMT") end
View file
_service:tar_scm:rack-2.2.3.1.gem/data/lib/rack/version.rb -> _service:tar_scm:rack-2.2.4.gem/data/lib/rack/version.rb
Changed
@@ -20,7 +20,7 @@ VERSION.join(".") end - RELEASE = "2.2.3.1" + RELEASE = "2.2.4" # Return the Rack release as a dotted string. def self.release
View file
_service:tar_scm:rack-2.2.3.1.gem/metadata.gz -> _service:tar_scm:rack-2.2.4.gem/metadata.gz
Changed
@@ -1,14 +1,14 @@ --- !ruby/object:Gem::Specification name: rack version: !ruby/object:Gem::Version - version: 2.2.3.1 + version: 2.2.4 platform: ruby authors: - Leah Neukirchen autorequire: bindir: bin cert_chain: -date: 2022-05-27 00:00:00.000000000 Z +date: 2022-06-30 00:00:00.000000000 Z dependencies: - !ruby/object:Gem::Dependency name: minitest
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2