summary refs log tree commit
DateCommit message (Collapse)
2018-02-27bump version for release 1.6.9
2018-02-27Merge pull request #1237 from eileencodes/backport-1137
Backport pull request #1137 from unabridged/fix-eof-failure
2018-02-26Backport pull request #1137 from unabridged/fix-eof-failure
Original commit message: Fix MethodOverride EOFError failure Converted changes from Rack 2.0 to work in Rack 1.6 which included changing `RACK_ERRORS` to `rack.errors` and fixes to the tests (`it` to `should` and `must_match` to `should =~`.
2017-05-16bump version 1.6.8
2017-05-16Merge pull request #1170 from rack/1-8-fix
Ruby 1.8 doesn't know about encodings
2017-05-16Merge pull request #1169 from eileencodes/fix-mistake-in-encoding-change
Fix mistake in encoding change
2017-05-16Ruby 1.8 doesn't know about encodings
2017-05-16Fix mistake in encoding change
1) I wasn't even testing my change on the branches I made changes on because I accidentally used `unless` instead of `if`. This test should only run IF encoding them to binary is supported. :flushed: 2) 1.9.3 does respond to `:encoding` but it doesn't respond to `:b` and since it's `:b` we're calling on these env vars it's best to ask if it responds to that method, not to `:encoding`. Fixes #1168
2017-05-15Bump rack version for release 1.6.7
2017-05-12Ensure env values are ASCII 8BIT encoded
When web servers read data from the socket it's encoded as ASCII_8BIT because we don't know the encoding. This change makes the env closer to what a real web server will return in production. We don't want to run this if it's Ruby 1.8 because it doesn't support encodings.
2017-05-08Bump Rack version for release 1.6.6
2017-05-08Merge pull request #1115 from Shopify/fix-multipart-parsing-with-null-byte
Handle NULL byte in multipart file name
2017-04-19Merge pull request #1158 from marshall-lee/1-6-stable-backport-2f8b710
Backport to 1.6: prevent exception caused by a race condition on multi-threaded server like Puma.
2017-04-18Merge pull request #1080 from sophiedeziel/master
Prevent exception caused by a race condition on multi-threaded servers
2016-11-10bumping version 1.6.5
2016-11-10Use Mutex instead of Thread.exclusive for reloader
Because Thread.exclusive is deprecated since Ruby 2.3.0: * https://github.com/ruby/ruby/blob/v2_3_0/ChangeLog#L2398-L2400 * https://github.com/ruby/ruby/blob/v2_3_0/prelude.rb#L11
2016-04-18CI: Refresh and repair builds
* Fix incompatible backported specs * Pin to Rake < 11.0 for 1.8 compat * Backport Travis bump: c9e313f * Build on Ruby 2.3 * Allow failures on jruby-head and rbx-2 Closes #1052
2016-04-17Validate the SameSite cookie option
The draft spec for the SameSite option mentions two configuration options: Strict & Lax. This commit introduces validation of the associated same_site attribute. The main motivation for validating this value is ensuring that awry option values don't cause unexpected behaviour. As this is a sensitive security option, I think validation is warranted. The main drawback of validating the option value is that Rack won't immediately support new options. Signed-off-by: Jeremy Daer <jeremydaer@gmail.com>
2016-03-17Merge pull request #1037 from mastahyeti/backport_same_site_cookies
Backport SameSite cookie attribute
2016-03-17first-party cookies are now same-site cookies
remove use of `:first_party` option pass along provided value make the syntax more flexible s/strict/Strict/
2016-03-17First-Party cookies, another line of CSRF defense
Set `first_party: true` to set the First-Party attribute telling browsers to only send the cookie with legit first-party requests. * https://tools.ietf.org/html/draft-west-first-party-cookies-00 * https://www.chromestatus.com/feature/4672634709082112
2015-06-24fix 1.8 backwards compat
2015-06-18bump version 1.6.4
2015-06-18Merge pull request #899 from matthewd/1-6-semicolon
[1-6-stable] Fix GET semicolons without breaking API compatibility
2015-06-19Fix GET semicolons without breaking API compatibility
Well.. without breaking compatibility in a way that affects Rails.
2015-06-19Revert "Merge pull request #781 from Nyoho/fix-separator-semicolon-GET"
This reverts commit 75c65fbb3b4a907ef3ebf5e97d0270918607a357.
2015-06-18Give parse_query's second argument a default value
2015-06-18bump to 1.6.3 1.6.3
2015-06-17Merge pull request #781 from Nyoho/fix-separator-semicolon-GET
Fix semicolons as separators for GET
2015-06-17Merge pull request #814 from ↵
johnnaegle/only_increment_open_file_count_for_fileparts Only count files (not all form elements) against the Multipart File Limit
2015-06-16Merge branch '1-6-sec' into 1-6-stable
* 1-6-sec: update history bump to 1.6.2 raise an exception if the parameters are too deep
2015-06-13Merge pull request #835 from ↵
greysteil/handle-param-parsing-errors-in-method-override Ignore param parsing errors in MethodOverride
2015-06-12update history 1.6.2
2015-06-12bump to 1.6.2
2015-06-12raise an exception if the parameters are too deep
CVE-2015-3225
2015-06-11Don't get ancestors' constant as Handler that name is same
2015-05-27Merge pull request #841 from oskarpearson/use_default_output_buffer
Use the default HTTP output buffer, instead of 5
2015-05-12Merge pull request #854 from balexand/backport_791
Add woff2 mime type (backport to 1-6-stable)
2015-05-12Add woff2 mime type
2015-05-06bumping to 1.6.1 1.6.1
2015-05-06updating OkJson due to CVE-2014-9490
2015-02-19Moved HISTORY into a separate document.
2015-02-19Update license with up-to-date year
2015-02-19Use default bundle install command.
http://docs.travis-ci.com/user/languages/ruby/#Default-Test-Script.
2015-02-19Fix spec versions in all handler files
2015-02-19Run all the tests on ci, we have the pkgs
2015-02-19Oh look, no one has run fulltest for so long
2015-02-19did you know you could use turtles to shave yaks?
2015-02-19Update travis.yml since we added bundler and stuff
2015-02-19Update to reflect changes in #514