U:RDoc::TopLevel[ i I"CHANGELOG.md:ETcRDoc::Parser::Markdowno:RDoc::Markup::Document:@parts[S:RDoc::Markup::Heading:
leveli: textI"Changelog;To:RDoc::Markup::Paragraph;[I"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/].;TS; ;
i;I"[2.2.3] - 2020-02-11;To:RDoc::Markup::List:
@type:BULLET:@items[o:RDoc::Markup::ListItem:@label0;[o;;[I".[CVE-2020-8184] Only decode cookie values;TS; ;
i;I"[2.2.2] - 2020-02-11;TS; ;
i;I"
Fixed;To;
;;;[ o;;0;[o;;[I"Fix incorrect Rack::Request#host
value. ({#1591}[https://github.com/rack/rack/pull/1591], {@ioquatix}[https://github.com/ioquatix]);To;;0;[o;;[I"Revert Rack::Handler::Thin
implementation. ({#1583}[https://github.com/rack/rack/pull/1583], {@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"Double assignment is still needed to prevent an "unused variable" warning. ({#1589}[https://github.com/rack/rack/pull/1589], {@kamipo}[https://github.com/kamipo]);To;;0;[o;;[I"Fix to handle same_site option for session pool. ({#1587}[https://github.com/rack/rack/pull/1587], {@kamipo}[https://github.com/kamipo]);TS; ;
i;I"[2.2.1] - 2020-02-09;TS; ;
i;I"
Fixed;To;
;;;[o;;0;[o;;[I"Rework Rack::Request#ip
to handle empty forwarded_for
. ({#1577}[https://github.com/rack/rack/pull/1577], {@ioquatix}[https://github.com/ioquatix]);TS; ;
i;I"[2.2.0] - 2020-02-08;TS; ;
i;I"SPEC Changes;To;
;;;[ o;;0;[o;;[I"rack.session
request environment entry must respond to to_hash
and return unfrozen Hash. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"[Request environment cannot be frozen. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"CGI values in the request environment with non-ASCII characters must use ASCII-8BIT encoding. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"Improve SPEC/lint relating to SERVER_NAME, SERVER_PORT and HTTP_HOST. ({#1561}[https://github.com/rack/rack/pull/1561], {@ioquatix}[https://github.com/ioquatix]);TS; ;
i;I"
Added;To;
;;;[o;;0;[o;;[I"rackup
supports multiple -r
options and will require all arguments. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"Server
supports an array of paths to require for the :require
option. ({@khotta}[https://github.com/khotta]);To;;0;[o;;[I"gFiles
supports multipart range requests. ({@fatkodima}[https://github.com/fatkodima]);To;;0;[o;;[I"Multipart::UploadedFile
supports an IO-like object instead of using the filesystem, using :filename
and :io
options. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"Multipart::UploadedFile
supports keyword arguments :path
, :content_type
, and :binary
in addition to positional arguments. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"Static
supports a :cascade
option for calling the app if there is no matching file. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"fSession::Abstract::SessionHash#dig
. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"Response.[]
and MockResponse.[]
for creating instances using status, headers, and body. ({@ioquatix}[https://github.com/ioquatix]);To;;0;[o;;[I"Convenient cache and content type methods for Rack::Response
. ({#1555}[https://github.com/rack/rack/pull/1555], {@ioquatix}[https://github.com/ioquatix]);TS; ;
i;I"Changed;To;
;;;[o;;0;[o;;[I"mRequest#params
no longer rescues EOFError. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"Directory
uses a streaming approach, significantly improving time to first byte for large directories. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"Directory
no longer includes a Parent directory link in the root directory index. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"QueryParser#parse_nested_query
uses original backtrace when reraising exception with new class. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"ConditionalGet
follows RFC 7232 precedence if both If-None-Match and If-Modified-Since headers are provided. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"|.ru
files supports the frozen-string-literal
magic comment. ({@eregon}[https://github.com/eregon]);To;;0;[o;;[I"Rely on autoload to load constants instead of requiring internal files, make sure to require 'rack' and not just 'rack/...'. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"Etag
will continue sending ETag even if the response should not be cached. ({@henm}[https://github.com/henm]);To;;0;[o;;[I"Request#host_with_port
no longer includes a colon for a missing or empty port. ({@AlexWayfer}[https://github.com/AlexWayfer]);To;;0;[o;;[I"yAll handlers uses keywords arguments instead of an options hash argument. ({@ioquatix}[https://github.com/ioquatix]);To;;0;[o;;[I"Files
handling of range requests no longer return a body that supports to_path
, to ensure range requests are handled correctly. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I" Multipart::Generator
only includes Content-Length
for files with paths, and Content-Disposition
filename
if the UploadedFile
instance has one. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"Request#ssl?
is true for the wss
scheme (secure websockets). ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"Rack::HeaderHash
is memoized by default. ({#1549}[https://github.com/rack/rack/pull/1549], {@ioquatix}[https://github.com/ioquatix]);To;;0;[o;;[I"Rack::Directory
allow directory traversal inside root directory. ({#1417}[https://github.com/rack/rack/pull/1417], {@ThomasSevestre}[https://github.com/ThomasSevestre]);To;;0;[o;;[I"Sort encodings by server preference. ({#1184}[https://github.com/rack/rack/pull/1184], {@ioquatix}[https://github.com/ioquatix], {@wjordan}[https://github.com/wjordan]);To;;0;[o;;[I"}Rework host/hostname/authority implementation in Rack::Request
. #host
and #host_with_port
have been changed to correctly return IPv6 addresses formatted with square brackets, as defined by {RFC3986}[https://tools.ietf.org/html/rfc3986#section-3.2.2]. ({#1561}[https://github.com/rack/rack/pull/1561], {@ioquatix}[https://github.com/ioquatix]);To;;0;[o;;[I"Rack::Builder
parsing options on first #\
line is deprecated. ({#1574}[https://github.com/rack/rack/pull/1574], {@ioquatix}[https://github.com/ioquatix]);TS; ;
i;I"Removed;To;
;;;[o;;0;[o;;[I"}Directory#path
as it was not used and always returned nil. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"BodyProxy#each
as it was only needed to work around a bug in Ruby <1.9.3. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"URLMap::INFINITY
and URLMap::NEGATIVE_INFINITY
, in favor of Float::INFINITY
. ({@ch1c0t}[https://github.com/ch1c0t]);To;;0;[o;;[I"Deprecation of Rack::File
. It will be deprecated again in rack 2.2 or 3.0. ({@rafaelfranca}[https://github.com/rafaelfranca]);To;;0;[o;;[I"\Support for Ruby 2.2 as it is well past EOL. ({@ioquatix}[https://github.com/ioquatix]);To;;0;[o;;[I"Remove Rack::Files#response_body
as the implementation was broken. ({#1153}[https://github.com/rack/rack/pull/1153], {@ioquatix}[https://github.com/ioquatix]);To;;0;[o;;[I"Remove SERVER_ADDR
which was never part of the original SPEC. ({#1573}[https://github.com/rack/rack/pull/1573], {@ioquatix}[https://github.com/ioquatix]);TS; ;
i;I"
Fixed;To;
;;;[o;;0;[o;;[I"Directory
correctly handles root paths containing glob metacharacters. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"Cascade
uses a new response object for each call if initialized with no apps. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"BodyProxy
correctly delegates keyword arguments to the body object on Ruby 2.7+. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"BodyProxy#method
correctly handles methods delegated to the body object. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"Request#host
and Request#host_with_port
handle IPv6 addresses correctly. ({@AlexWayfer}[https://github.com/AlexWayfer]);To;;0;[o;;[I"Lint
checks when response hijacking that rack.hijack
is called with a valid object. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"Response#write
correctly updates Content-Length
if initialized with a body. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"qCommonLogger
includes SCRIPT_NAME
when logging. ({@Erol}[https://github.com/Erol]);To;;0;[o;;[I"Utils.parse_nested_query
correctly handles empty queries, using an empty instance of the params class instead of a hash. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"`Directory
correctly escapes paths in links. ({@yous}[https://github.com/yous]);To;;0;[o;;[I"Request#delete_cookie
and related Utils
methods handle :domain
and :path
options in same call. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"Request#delete_cookie
and related Utils
methods do an exact match on :domain
and :path
options. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"Static
no longer adds headers when a gzipped file request has a 304 response. ({@chooh}[https://github.com/chooh]);To;;0;[o;;[I"ContentLength
sets Content-Length
response header even for bodies not responding to to_ary
. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"Thin handler supports options passed directly to Thin::Controllers::Controller
. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"yWEBrick handler no longer ignores :BindAddress
option. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"lShowExceptions
handles invalid POST data. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"~Basic authentication requires a password, even if the password is empty. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"{Lint
checks response is array with 3 elements, per SPEC. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"bSupport for using :SSLEnable
option when using WEBrick handler. (Gregor Melhorn);To;;0;[o;;[I"fClose response body after buffering it when buffering. ({@ioquatix}[https://github.com/ioquatix]);To;;0;[o;;[I"iOnly accept ;
as delimiter when parsing cookies. ({@mrageh}[https://github.com/mrageh]);To;;0;[o;;[I"qUtils::HeaderHash#clear
clears the name mapping as well. ({@raxoft}[https://github.com/raxoft]);To;;0;[o;;[I"Support for passing nil
Rack::Files.new
, which notably fixes Rails' current ActiveStorage::FileServer
implementation. ({@ioquatix}[https://github.com/ioquatix]);TS; ;
i;I"Documentation;To;
;;;[o;;0;[o;;[I">CHANGELOG updates. ({@aupajo}[https://github.com/aupajo]);To;;0;[o;;[I"RAdded {CONTRIBUTING}[CONTRIBUTING.md]. ({@dblock}[https://github.com/dblock]);TS; ;
i;I"[2.1.2] - 2020-01-27;To;
;;;[o;;0;[o;;[I"rFix multipart parser for some files to prevent denial of service ({@aiomaster}[https://github.com/aiomaster]);To;;0;[o;;[I"eFix Rack::Builder#use
with keyword arguments ({@kamipo}[https://github.com/kamipo]);To;;0;[o;;[I"mSkip deflating in Rack::Deflater if Content-Length is 0 ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"jRemove SessionHash#transform_keys
, no longer needed ({@pavel}[https://github.com/pavel]);To;;0;[o;;[I"hAdd to_hash to wrap Hash and Session classes ({@oleh-demyanyuk}[https://github.com/oleh-demyanyuk]);To;;0;[o;;[I"oHandle case where session id key is requested but missing ({@jeremyevans}[https://github.com/jeremyevans]);TS; ;
i;I"[2.1.1] - 2020-01-12;To;
;;;[o;;0;[o;;[I"Remove Rack::Chunked
from Rack::Server
default middleware. ({#1475}[https://github.com/rack/rack/pull/1475], {@ioquatix}[https://github.com/ioquatix]);To;;0;[o;;[I"vRestore support for code relying on SessionId#to_s
. ({@jeremyevans}[https://github.com/jeremyevans]);TS; ;
i;I"[2.1.0] - 2020-01-10;TS; ;
i;I"
Added;To;
;;;[o;;0;[o;;[I"hAdd support for SameSite=None
cookie value. ({@hennikul}[https://github.com/hennikul]);To;;0;[o;;[I"JAdd trailer headers. ({@eileencodes}[https://github.com/eileencodes]);To;;0;[o;;[I"KAdd MIME Types for video streaming. ({@styd}[https://github.com/styd]);To;;0;[o;;[I"KAdd MIME Type for WASM. ({@buildrtech}[https://github.com/buildrtech]);To;;0;[o;;[I"\Add Early Hints(103)
to status codes. ({@egtra}[https://github.com/egtra]);To;;0;[o;;[I"^Add Too Early(425)
to status codes. ({@y-yagi}[(https://github.com/y-yagi)]);To;;0;[o;;[I"mAdd Bandwidth Limit Exceeded(509)
to status codes. ({@CJKinni}[https://github.com/CJKinni]);To;;0;[o;;[I"cAdd method for custom ip_filter
. ({@svcastaneda}[https://github.com/svcastaneda]);To;;0;[o;;[I"pAdd boot-time profiling capabilities to rackup
. ({@tenderlove}[https://github.com/tenderlove]);To;;0;[o;;[I"qAdd multi mapping support for X-Accel-Mappings
header. ({@yoshuki}[https://github.com/yoshuki]);To;;0;[o;;[I"TAdd sync: false
option to Rack::Deflater
. (Eric Wong);To;;0;[o;;[I"Add Builder#freeze_app
to freeze application and all middleware instances. ({@jeremyevans}[https://github.com/jeremyevans]);To;;0;[o;;[I"tAdd API to extract cookies from Rack::MockResponse
. ({@petercline}[https://github.com/petercline]);TS; ;
i;I"Changed;To;
;;;[o;;0;[o;;[I"[Don't propagate nil values from middleware. ({@ioquatix}[https://github.com/ioquatix]);To;;0;[o;;[I"sLazily initialize the response body and only buffer it if required. ({@ioquatix}[https://github.com/ioquatix]);To;;0;[o;;[I"oFix deflater zlib buffer errors on empty body part. ({@felixbuenemann}[https://github.com/felixbuenemann]);To;;0;[o;;[I"hSet X-Accel-Redirect
to percent-encoded path. ({@diskkid}[https://github.com/diskkid]);To;;0;[o;;[I"eRemove unnecessary buffer growing when parsing multipart. ({@tainoe}[https://github.com/tainoe]);To;;0;[o;;[I"xExpand the root path in Rack::Static
upon initialization. ({@rosenfeld}[https://github.com/rosenfeld]);To;;0;[o;;[I"aMake ShowExceptions
work with binary data. ({@axyjo}[https://github.com/axyjo]);To;;0;[o;;[I"`Use buffer string when parsing multipart requests. ({@janko-m}[https://github.com/janko-m]);To;;0;[o;;[I"hSupport optional UTF-8 Byte Order Mark (BOM) in config.ru. ({@mikegee}[https://github.com/mikegee]);To;;0;[o;;[I"kHandle X-Forwarded-For
with optional port. ({@dpritchett}[https://github.com/dpritchett]);To;;0;[o;;[I"wUse Time#httpdate
format for Expires, as proposed by RFC 7231. ({@nanaya}[https://github.com/nanaya]);To;;0;[o;;[I"Make Utils.status_code
raise an error when the status symbol is invalid instead of 500
. ({@adambutler}[https://github.com/adambutler]);To;;0;[o;;[I"\Rename Request::SCHEME_WHITELIST
to Request::ALLOWED_SCHEMES
.;To;;0;[o;;[I"Make Multipart::Parser.get_filename
accept files with +
in their name. ({@lucaskanashiro}[https://github.com/lucaskanashiro]);To;;0;[o;;[I"\Add Falcon to the default handler fallbacks. ({@ioquatix}[https://github.com/ioquatix]);To;;0;[o;;[I"Update codebase to avoid string mutations in preparation for frozen_string_literals
. ({@pat}[https://github.com/pat]);To;;0;[o;;[I"Change MockRequest#env_for
to rely on the input optionally responding to #size
instead of #length
. ({@janko}[https://github.com/janko]);To;;0;[o;;[I"Rename Rack::File
-> Rack::Files
and add deprecation notice. ({@postmodern}[https://github.com/postmodern]).;To;;0;[o;;[I"gPrefer Base64 “strict encoding” for Base64 cookies. ({@ioquatix}[https://github.com/ioquatix]);TS; ;
i;I"Removed;To;
;;;[o;;0;[o;;[I"\Remove to_ary
from Response ({@tenderlove}[https://github.com/tenderlove]);To;;0;[o;;[I"Deprecate Rack::Session::Memcache
in favor of Rack::Session::Dalli
from dalli gem ({@fatkodima}[https://github.com/fatkodima]);TS; ;
i;I"
Fixed;To;
;;;[o;;0;[o;;[I"WEliminate warnings for Ruby 2.7. ({@osamtimizer}[https://github.com/osamtimizer]]);TS; ;
i;I"Documentation;To;
;;;[
o;;0;[o;;[I"Update broken example in Session::Abstract::ID
documentation. ({tonytonyjan}[https://github.com/tonytonyjan]);To;;0;[o;;[I"jAdd Padrino to the list of frameworks implementing Rack. ({@wikimatze}[https://github.com/wikimatze]);To;;0;[o;;[I"xRemove Mongrel from the suggested server options in the help output. ({@tricknotes}[https://github.com/tricknotes]);To;;0;[o;;[I"Replace HISTORY.md
and NEWS.md
with CHANGELOG.md
. ({@twitnithegirl}[https://github.com/twitnithegirl]);To;;0;[o;;[I"\CHANGELOG updates. ({@drenmi}[https://github.com/Drenmi], {@p8}[https://github.com/p8]);TS; ;
i;I"[2.0.8] - 2019-12-08;TS; ;
i;I"
Security;To;
;;;[o;;0;[o;;[I"'[{CVE-2019-16782}[https://nvd.nist.gov/vuln/detail/CVE-2019-16782]] Prevent timing attacks targeted at session ID lookup. BREAKING CHANGE: Session ID is now a SessionId instance instead of a String. ({@tenderlove}[https://github.com/tenderlove], {@rafaelfranca}[https://github.com/rafaelfranca]);TS; ;
i;I"[1.6.12] - 2019-12-08;TS; ;
i;I"
Security;To;
;;;[o;;0;[o;;[I"'[{CVE-2019-16782}[https://nvd.nist.gov/vuln/detail/CVE-2019-16782]] Prevent timing attacks targeted at session ID lookup. BREAKING CHANGE: Session ID is now a SessionId instance instead of a String. ({@tenderlove}[https://github.com/tenderlove], {@rafaelfranca}[https://github.com/rafaelfranca]);TS; ;
i;I"[2.0.7] - 2019-04-02;TS; ;
i;I"
Fixed;To;
;;;[o;;0;[o;;[I"Remove calls to #eof?
on Rack input in Multipart::Parser
, as this breaks the specification. ({@matthewd}[https://github.com/matthewd]);To;;0;[o;;[I"mPreserve forwarded IP addresses for trusted proxy chains. ({@SamSaffron}[https://github.com/SamSaffron]);TS; ;
i;I"[2.0.6] - 2018-11-05;TS; ;
i;I"
Fixed;To;
;;;[o;;0;[o;;[I"[{CVE-2018-16470}[https://nvd.nist.gov/vuln/detail/CVE-2018-16470]] Reduce buffer size of Multipart::Parser
to avoid pathological parsing. ({@tenderlove}[https://github.com/tenderlove]);To;;0;[o;;[I"Fix a call to a non-existing method #accepts_html
in the ShowExceptions
middleware. ({@tomelm}[https://github.com/tomelm]);To;;0;[o;;[I"[{CVE-2018-16471}[https://nvd.nist.gov/vuln/detail/CVE-2018-16471]] Whitelist HTTP and HTTPS schemes in Request#scheme
to prevent a possible XSS attack. ({@PatrickTulskie}[https://github.com/PatrickTulskie]);TS; ;
i;I"[2.0.5] - 2018-04-23;TS; ;
i;I"
Fixed;To;
;;;[o;;0;[o;;[I"Record errors originating from invalid UTF8 in MethodOverride
middleware instead of breaking. ({@mclark}[https://github.com/mclark]);TS; ;
i;I"[2.0.4] - 2018-01-31;TS; ;
i;I"Changed;To;
;;;[
o;;0;[o;;[I"{Ensure the Lock
middleware passes the original env
object. ({@lugray}[https://github.com/lugray]);To;;0;[o;;[I"}Improve performance of Multipart::Parser
when uploading large files. ({@tompng}[https://github.com/tompng]);To;;0;[o;;[I"|Increase buffer size in Multipart::Parser
for better performance. ({@jkowens}[https://github.com/jkowens]);To;;0;[o;;[I"}Reduce memory usage of Multipart::Parser
when uploading large files. ({@tompng}[https://github.com/tompng]);To;;0;[o;;[I"uReplace ConcurrentRuby dependency with native Queue
. ({@devmchakan}[https://github.com/devmchakan]);TS; ;
i;I"
Fixed;To;
;;;[o;;0;[o;;[I"yRequire the correct digest algorithm in the ETag
middleware. ({@matthewd}[https://github.com/matthewd]);TS; ;
i;I"Documentation;To;
;;;[o;;0;[o;;[I"YUpdate homepage links to use SSL. ({@hugoabonizio}[https://github.com/hugoabonizio]);TS; ;
i;I"[2.0.3] - 2017-05-15;TS; ;
i;I"Changed;To;
;;;[o;;0;[o;;[I"mEnsure env
values are ASCII 8-bit encoded. ({@eileencodes}[https://github.com/eileencodes]);TS; ;
i;I"
Fixed;To;
;;;[o;;0;[o;;[I"Prevent exceptions when a class with mixins inherits from Session::Abstract::ID
. ({@jnraine}[https://github.com/jnraine]);TS; ;
i;I"[2.0.2] - 2017-05-08;TS; ;
i;I"
Added;To;
;;;[o;;0;[o;;[I"Allow Session::Abstract::SessionHash#fetch
to accept a block with a default value. ({@yannvanhalewyn}[https://github.com/yannvanhalewyn]);To;;0;[o;;[I"~Add Builder#freeze_app
to freeze application and all middleware. ({@jeremyevans}[https://github.com/jeremyevans]);TS; ;
i;I"Changed;To;
;;;[ o;;0;[o;;[I"dFreeze default session options to avoid accidental mutation. ({@kirs}[https://github.com/kirs]);To;;0;[o;;[I"_Detect partial hijack without hash headers. ({@devmchakan}[https://github.com/devmchakan]);To;;0;[o;;[I"^Update tests to use MiniTest 6 matchers. ({@tonytonyjan}[https://github.com/tonytonyjan]);To;;0;[o;;[I"Allow 205 Reset Content responses to set a Content-Length, as RFC 7231 proposes setting this to 0. ({@devmchakan}[https://github.com/devmchakan]);TS; ;
i;I"
Fixed;To;
;;;[o;;0;[o;;[I"nHandle NULL
bytes in multipart filenames. ({@casperisfine}[https://github.com/casperisfine]);To;;0;[o;;[I"]Remove warnings due to miscapitalized global. ({@ioquatix}[https://github.com/ioquatix]);To;;0;[o;;[I"{Prevent exceptions caused by a race condition on multi-threaded servers. ({@sophiedeziel}[https://github.com/sophiedeziel]);To;;0;[o;;[I"tAdd RDoc as an explicit depencency for doc
group. ({@tonytonyjan}[https://github.com/tonytonyjan]);To;;0;[o;;[I"Record errors originating from Multipart::Parser
in the MethodOverride
middleware instead of letting them bubble up. ({@carlzulauf}[https://github.com/carlzulauf]);To;;0;[o;;[I"Remove remaining use of removed Utils#bytesize
method from the File
middleware. ({@brauliomartinezlm}[https://github.com/brauliomartinezlm]);TS; ;
i;I"Removed;To;
;;;[o;;0;[o;;[I"|Remove deflate
encoding support to reduce caching overhead. ({@devmchakan}[https://github.com/devmchakan]);TS; ;
i;I"Documentation;To;
;;;[o;;0;[o;;[I"oUpdate broken example in Deflater
documentation. ({@mwpastore}[https://github.com/mwpastore]);TS; ;
i;I"[2.0.1] - 2016-06-30;TS; ;
i;I"Changed;To;
;;;[o;;0;[o;;[I"TRemove JSON as an explicit dependency. ({@mperham}[https://github.com/mperham]);TS; ;
i;I"History/News Archive;To;;[I"[Items below this line are from the previously maintained HISTORY.md and NEWS.md files.;TS; ;
i;I"[2.0.0.rc1] 2016-05-06;To;
;;;[o;;0;[o;;[I"gRack::Session::Abstract::ID is deprecated. Please change to use Rack::Session::Abstract::Persisted;TS; ;
i;I"[2.0.0.alpha] 2015-12-04;To;
;;;[o;;0;[o;;[I"First-party "SameSite" cookies. Browsers omit SameSite cookies from third-party requests, closing the door on many CSRF attacks.;To;;0;[o;;[I"Pass same_site: true
(or :strict
) to enable: response.set_cookie 'foo', value: 'bar', same_site: true or same_site: :lax
to use Lax enforcement: response.set_cookie 'foo', value: 'bar', same_site: :lax;To;;0;[o;;[I"Based on version 7 of the Same-site Cookies internet draft:
https://tools.ietf.org/html/draft-west-first-party-cookies-07;To;;0;[o;;[I"`Thanks to Ben Toews (@mastahyeti) and Bob Long (@bobjflong) for updating to drafts 5 and 7.;To;;0;[o;;[I"Add Rack::Events
middleware for adding event based middleware: middleware that does not care about the response body, but only cares about doing work at particular points in the request / response lifecycle.;To;;0;[o;;[I"Add Rack::Request#authority
to calculate the authority under which the response is being made (this will be handy for h2 pushes).;To;;0;[o;;[I"Add Rack::Response::Helpers#cache_control
and cache_control=
. Use this for setting cache control headers on your response objects.;To;;0;[o;;[I"|Add Rack::Response::Helpers#etag
and etag=
. Use this for setting etag values on the response.;To;;0;[o;;[I"
Introduce Rack::Response::Helpers#add_header
to add a value to a multi-valued response header. Implemented in terms of other Response#*_header
methods, so it's available to any response-like class that includes the Helpers
module.;To;;0;[o;;[I"8Add Rack::Request#add_header
to match.;To;;0;[o;;[I"Rack::Session::Abstract::ID
IS DEPRECATED. Please switch to Rack::Session::Abstract::Persisted
. Rack::Session::Abstract::Persisted
uses a request object rather than the env
hash.;To;;0;[o;;[I"Pull ENV
access inside the request object in to a module. This will help with legacy Request objects that are ENV based but don't want to inherit from Rack::Request;To;;0;[o;;[I"`Move most methods on the Rack::Request
to a module Rack::Request::Helpers
and use public API to get values from the request object. This enables users to mix Rack::Request::Helpers
in to their own objects so they can implement (get|set|fetch|each)_header
as they see fit (for example a proxy object).;To;;0;[o;;[I"Files and directories with + in the name are served correctly. Rather than unescaping paths like a form, we unescape with a URI parser using Rack::Utils.unescape_path
. Fixes #265;To;;0;[o;;[I"UTempfiles are automatically closed in the case that there were too
many posted.;To;;0;[o;;[I"Added methods for manipulating response headers that don't assume
they're stored as a Hash. Response-like classes may include the
Rack::Response::Helpers module if they define these methods:;To;
;;;[o;;0;[o;;[I"Rack::Response#has_header?;To;
;;;[o;;0;[o;;[I"Rack::Response#get_header;To;;0;[o;;[I"Rack::Response#set_header;To;;0;[o;;[I"!Rack::Response#delete_header;To;;0;[o;;[I"Introduce Util.get_byte_ranges that will parse the value of the HTTP_RANGE string passed to it without depending on the env
hash. byte_ranges
is deprecated in favor of this method.;To;;0;[o;;[I"Change Session internals to use Request objects for looking up session information. This allows us to only allocate one request object when dealing with session objects (rather than doing it every time we need to manipulate cookies, etc).;To;;0;[o;;[I"iAdd Rack::Request#initialize_copy
so that the env is duped when the request gets duped.;To;;0;[o;;[I"pAdded methods for manipulating request specific data. This includes
data set as CGI parameters, and just any arbitrary data the user wants
to associate with a particular request. New methods:
- Rack::Request#has_header?
- Rack::Request#get_header
- Rack::Request#fetch_header
- Rack::Request#each_header
- Rack::Request#set_header
- Rack::Request#delete_header;To;;0;[o;;[I"lib/rack/utils.rb: add a method for constructing "delete" cookie
headers. This allows us to construct cookie headers without depending
on the side effects of mutating a hash.;To;;0;[o;;[I"GPrevent extremely deep parameters from being parsed. CVE-2015-3225;TS; ;
i;I"[1.6.1] 2015-05-06;To;
;;;[o;;0;[o;;[I":Fix CVE-2014-9490, denial of service attack in OkJson;To;;0;[o;;[I"9Use a monotonic time for Rack::Runtime, if available;To;;0;[o;;[I"{RACK_MULTIPART_LIMIT changed to RACK_MULTIPART_PART_LIMIT (RACK_MULTIPART_LIMIT is deprecated and will be removed in 1.7.0);TS; ;
i;I"[1.5.3] 2015-05-06;To;
;;;[o;;0;[o;;[I":Fix CVE-2014-9490, denial of service attack in OkJson;To;;0;[o;;[I"%Backport bug fixes to 1.5 series;TS; ;
i;I"[1.6.0] 2014-01-18;To;
;;;[o;;0;[o;;[I""Response#unauthorized? helper;To;;0;[o;;[I"WDeflater now accepts an options hash to control compression on a per-request level;To;;0;[o;;[I"-Builder#warmup method for app preloading;To;;0;[o;;[I"CRequest#accept_language method to extract HTTP_ACCEPT_LANGUAGE;To;;0;[o;;[I"2Add quiet mode of rack server, rackup --quiet;To;;0;[o;;[I")Update HTTP Status Codes to RFC 7231;To;;0;[o;;[I"=Less strict header name validation according to RFC 2616;To;;0;[o;;[I"ESPEC updated to specify headers conform to RFC7230 specification;To;;0;[o;;[I"'Etag correctly marks etags as weak;To;;0;[o;;[I"ARequest#port supports multiple x-http-forwarded-proto values;To;;0;[o;;[I"\Utils#multipart_part_limit configures the maximum number of parts a request can contain;To;;0;[o;;[I"7Default host to localhost when in development mode;To;;0;[o;;[I"2Various bugfixes and performance improvements;TS; ;
i;I"[1.5.2] 2013-02-07;To;
;;;[
o;;0;[o;;[I"CFix CVE-2013-0263, timing attack against Rack::Session::Cookie;To;;0;[o;;[I"#run;To;;0;[o;;[I".Rack::Static now supports an index option;To;;0;[o;;[I"!Added the Teapot status code;To;;0;[o;;[I"Brackup now defaults to Thin instead of Mongrel (if installed);To;;0;[o;;[I".Support added for HTTP_X_FORWARDED_SCHEME;To;;0;[o;;[I"JNumerous bug fixes, including many fixes for new and alternate rubies;TS; ;
i;I"[1.1.3] 2011-12-28;To;
;;;[o;;0;[o;;[I"Security fix. http://www.ocert.org/advisories/ocert-2011-003.html
Further information here: http://jruby.org/2011/12/27/jruby-1-6-5-1;TS; ;
i;I"[1.3.5] 2011-10-17;To;
;;;[o;;0;[o;;[I":Fix annoying warnings caused by the backport in 1.3.4;TS; ;
i;I"[1.3.4] 2011-10-01;To;
;;;[ o;;0;[o;;[I"NBackport security fix from 1.9.3, also fixes some roundtrip issues in URI;To;;0;[o;;[I"Small documentation update;To;;0;[o;;[I"CFix an issue where BodyProxy could cause an infinite recursion;To;;0;[o;;[I",Add some supporting files for travis-ci;TS; ;
i;I"[1.2.4] 2011-09-16;To;
;;;[o;;0;[o;;[I"HFix a bug with MRI regex engine to prevent XSS by malformed unicode;TS; ;
i;I"[1.3.3] 2011-09-16;To;
;;;[ o;;0;[o;;[I"AFix bug with broken query parameters in Rack::ShowExceptions;To;;0;[o;;[I"HRack::Request#cookies no longer swallows exceptions on broken input;To;;0;[o;;[I"DPrevents XSS attacks enabled by bug in Ruby 1.8's regexp engine;To;;0;[o;;[I"BRack::ConditionalGet handles broken If-Modified-Since helpers;TS; ;
i;I"[1.3.2] 2011-07-16;To;
;;;[o;;0;[o;;[I"?Fix for Rails and rack-test, Rack::Utils#escape calls to_s;TS; ;
i;I"[1.3.1] 2011-07-13;To;
;;;[
o;;0;[o;;[I"Fix 1.9.1 support;To;;0;[o;;[I"Fix JRuby support;To;;0;[o;;[I"1Properly handle $KCODE in Rack::Utils.escape;To;;0;[o;;[I"Make method_missing/respond_to behavior consistent for Rack::Lock,
Rack::Auth::Digest::Request and Rack::Multipart::UploadedFile;To;;0;[o;;[I"8Reenable passing rack.session to session middleware;To;;0;[o;;[I"=Rack::CommonLogger handles streaming responses correctly;To;;0;[o;;[I"6Rack::MockResponse calls close on the body object;To;;0;[o;;[I".Fix a DOS vector from MRI stdlib backport;TS; ;
i;I"[1.2.3] 2011-05-22;To;
;;;[o;;0;[o;;[I"*Pulled in relevant bug fixes from 1.3;To;;0;[o;;[I"Fixed 1.8.6 support;TS; ;
i;I"[1.3.0] 2011-05-22;To;
;;;[o;;0;[o;;[I"&Various performance optimizations;To;;0;[o;;[I"Various multipart fixes;To;;0;[o;;[I" Various multipart refactors;To;;0;[o;;[I"$Infinite loop fix for multipart;To;;0;[o;;[I"+Test coverage for Rack::Server returns;To;;0;[o;;[I"AAllow files with '..', but not path components that are '..';To;;0;[o;;[I"@rackup accepts handler-specific options on the command line;To;;0;[o;;[I"IRequest#params no longer merges POST into GET (but returns the same);To;;0;[o;;[I"NUse URI.encode_www_form_component instead. Use core methods for escaping.;To;;0;[o;;[I"1Allow multi-line comments in the config file;To;;0;[o;;[I"FBug L#94 reported by Nikolai Lugovoi, query parameter unescaping.;To;;0;[o;;[I"?Rack::Response now deletes Content-Length when appropriate;To;;0;[o;;[I"*Rack::Deflater now supports streaming;To;;0;[o;;[I"1Improved Rack::Handler loading and searching;To;;0;[o;;[I"Support for the PATCH verb;To;;0;[o;;[I"=env['rack.session.options'] now contains session options;To;;0;[o;;[I"Cookies respect renew;To;;0;[o;;[I"-Session middleware uses SecureRandom.hex;TS; ;
i;I"[1.2.2, 1.1.2] 2011-03-13;To;
;;;[o;;0;[o;;[I"xSecurity fix in Rack::Auth::Digest::MD5: when authenticator
returned nil, permission was granted on empty password.;TS; ;
i;I"[1.2.1] 2010-06-15;To;
;;;[o;;0;[o;;[I" Make CGI handler rewindable;To;;0;[o;;[I"PRename spec/ to test/ to not conflict with SPEC on lesser
operating systems;TS; ;
i;I"[1.2.0] 2010-06-13;To;
;;;[o;;0;[o;;[I"=Removed Camping adapter: Camping 2.0 supports Rack as-is;To;;0;[o;;[I"%Removed parsing of quoted values;To;;0;[o;;[I",Add Request.trace? and Request.options?;To;;0;[o;;[I"%Add mime-type for .webm and .htc;To;;0;[o;;[I"Fix HTTP_X_FORWARDED_FOR;To;;0;[o;;[I"Various multipart fixes;To;;0;[o;;[I"Switch test suite to bacon;TS; ;
i;I"[1.1.0] 2010-01-03;To;
;;;[!o;;0;[o;;[I"(Moved Auth::OpenID to rack-contrib.;To;;0;[o;;[I"USPEC change that relaxes Lint slightly to allow subclasses of the
required types;To;;0;[o;;[I"ESPEC change to document rack.input binary mode in greator detail;To;;0;[o;;[I"3SPEC define optional rack.logger specification;To;;0;[o;;[I"*File servers support X-Cascade header;To;;0;[o;;[I"Imported Config middleware;To;;0;[o;;[I"Imported ETag middleware;To;;0;[o;;[I" Imported Runtime middleware;To;;0;[o;;[I"!Imported Sendfile middleware;To;;0;[o;;[I"*New Logger and NullLogger middlewares;To;;0;[o;;[I",Added mime type for .ogv and .manifest.;To;;0;[o;;[I"$Don't squeeze PATH_INFO slashes;To;;0;[o;;[I"6Use Content-Type to determine POST params parsing;To;;0;[o;;[I"/Update Rack::Utils::HTTP_STATUS_CODES hash;To;;0;[o;;[I"#Add status code lookup utility;To;;0;[o;;[I"-Response should call #to_i on the status;To;;0;[o;;[I"Add Request#user_agent;To;;0;[o;;[I",Request#host knows about forwarded host;To;;0;[o;;[I"ZReturn an empty string for Request#host if HTTP_HOST and
SERVER_NAME are both missing;To;;0;[o;;[I",Allow MockRequest to accept hash params;To;;0;[o;;[I" Optimizations to HeaderHash;To;;0;[o;;[I"(Refactored rackup into Rack::Server;To;;0;[o;;[I"JAdded Utils.build_nested_query to complement Utils.parse_nested_query;To;;0;[o;;[I"ZAdded Utils::Multipart.build_multipart to complement
Utils::Multipart.parse_multipart;To;;0;[o;;[I"\Extracted set and delete cookie helpers into Utils so they can be
used outside Response;To;;0;[o;;[I"_Extract parse_query and parse_multipart in Request so subclasses
can change their behavior;To;;0;[o;;[I"/Enforce binary encoding in RewindableInput;To;;0;[o;;[I"NSet correct external_encoding for handlers that don't use RewindableInput;TS; ;
i;I"[1.0.1] 2009-10-18;To;
;;;[o;;0;[o;;[I"%Bump remainder of rack.versions.;To;;0;[o;;[I"/Support the pure Ruby FCGI implementation.;To;;0;[o;;[I"LFix for form names containing "=": split first then unescape components;To;;0;[o;;[I"KFixes the handling of the filename parameter with semicolons in names.;To;;0;[o;;[I"JAdd anchor to nested params parsing regexp to prevent stack overflows;To;;0;[o;;[I"8Use more compatible gzip write api instead of "<<".;To;;0;[o;;[I"DMake sure that Reloader doesn't break when executed via ruby -e;To;;0;[o;;[I"0Make sure WEBrick respects the :Host option;To;;0;[o;;[I"Many Ruby 1.9 fixes.;TS; ;
i;I"[1.0.0] 2009-04-25;To;
;;;[o;;0;[o;;[I"9SPEC change: Rack::VERSION has been pushed to [1,0].;To;;0;[o;;[I"CSPEC change: header values must be Strings now, split on "\n".;To;;0;[o;;[I"`SPEC change: Content-Length can be missing, in this case chunked transfer
encoding is used.;To;;0;[o;;[I"SPEC change: rack.input must be rewindable and support reading into
a buffer, wrap with Rack::RewindableInput if it isn't.;To;;0;[o;;[I"0SPEC change: rack.session is now specified.;To;;0;[o;;[I"_SPEC change: Bodies can now additionally respond to #to_path with
a filename to be served.;To;;0;[o;;[I"ZNOTE: String bodies break in 1.9, use an Array consisting of a
single String instead.;To;;0;[o;;[I"New middleware Rack::Lock.;To;;0;[o;;[I"&New middleware Rack::ContentType.;To;;0;[o;;[I"'Rack::Reloader has been rewritten.;To;;0;[o;;[I"(Major update to Rack::Auth::OpenID.;To;;0;[o;;[I"