Santiago Pastorino [Wed, 24 Apr 2013 00:11:44 +0000 (21:11 -0300)]
Use rbx in Travis instead of rbx-2.0
Santiago Pastorino [Wed, 24 Apr 2013 00:05:09 +0000 (21:05 -0300)]
Add bundle exec to .travis.yml
Santiago Pastorino [Wed, 24 Apr 2013 00:02:06 +0000 (21:02 -0300)]
Update .travis.yml
Santiago Pastorino [Mon, 22 Apr 2013 23:20:51 +0000 (20:20 -0300)]
prevent crash when cookie doesn't contain "--"
This backports
881ce764f3fd70a20c5800892a132f1e6c8e7c50 so that rack
won't crash when there isn't a "--" in the rack_session cookie
Fixes #523
Santiago Pastorino [Mon, 22 Apr 2013 23:07:25 +0000 (20:07 -0300)]
Use the non deprecated version of source
James Tucker [Fri, 8 Feb 2013 03:00:50 +0000 (19:00 -0800)]
Bump version number
James Tucker [Fri, 8 Feb 2013 02:58:34 +0000 (18:58 -0800)]
Update README for todays releases
James Tucker [Thu, 7 Feb 2013 22:50:53 +0000 (14:50 -0800)]
Use secure_compare for hmac comparison
* Closes CVE-2013-0263
James Tucker [Wed, 6 Feb 2013 23:31:53 +0000 (15:31 -0800)]
Add secure_compare to Rack::Utils
Conflicts:
test/spec_utils.rb
James Tucker [Sun, 13 Jan 2013 22:01:09 +0000 (14:01 -0800)]
Bump version
James Tucker [Sun, 13 Jan 2013 21:55:50 +0000 (13:55 -0800)]
Update README for release. Add security section.
James Tucker [Sun, 13 Jan 2013 21:39:40 +0000 (13:39 -0800)]
Remove error test, implementation not backported
* Closes #493
James Tucker [Sun, 13 Jan 2013 21:33:08 +0000 (13:33 -0800)]
Squash warnings in spec_auth
James Tucker [Sun, 13 Jan 2013 21:10:20 +0000 (13:10 -0800)]
Reimplement auth scheme fix
* Add Rack::Auth.add_scheme to enable folks to fix anything that breaks
* Add common auth schemes, MS ones, AWS ones, etc are missing, as unlikely
* Checked Rails - they don't use our authorization code
* Checked Warden - uses rails
* Checked Omniauth - uses rails
* Checked doorkeeper - users rails
* Checked rack-authentication - does it's own thing
* Checked warden-oauth - doesn't do headers
* Checked devise - uses rails
* Checked oauth2-rack - header creation only
* Checked rack-oauth2-server - does it's own thing
* Probably missed a bunch, but that'll have to do
James Tucker [Mon, 7 Jan 2013 18:46:43 +0000 (10:46 -0800)]
Add release announcements to README
James Tucker [Mon, 7 Jan 2013 18:40:59 +0000 (10:40 -0800)]
Bump to 1.3.8
Eric Wong [Wed, 22 Aug 2012 22:48:23 +0000 (22:48 +0000)]
multipart/parser: avoid unbounded #gets method
Malicious clients may send excessively long lines
to trigger out-of-memory errors in a Rack web server.
James Tucker [Mon, 7 Jan 2013 01:29:27 +0000 (17:29 -0800)]
Bump to 1.3.7
James Tucker [Sun, 6 Jan 2013 23:50:19 +0000 (15:50 -0800)]
Update README based on master
Sokolov Yura [Fri, 9 Nov 2012 09:58:56 +0000 (13:58 +0400)]
Fix parsing multiple ranges
Fix parsing miltiple ranges in HTTP_RANGE header according to w3 rfc2616 (according to last example in sec14.35.1 http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35.1 ) (according to BNF rules in http://www.w3.org/Protocols/rfc2616/rfc2616-sec2.html#sec2.1 )
James Tucker [Sat, 29 Dec 2012 18:04:46 +0000 (13:04 -0500)]
Add a note in KNOWN-ISSUES regarding ECMA escape
James Tucker [Fri, 28 Dec 2012 22:38:51 +0000 (17:38 -0500)]
Refactor spec_cascade and spec_head
* StringIO is a better choice than a struct here.
James Tucker [Fri, 28 Dec 2012 22:36:36 +0000 (17:36 -0500)]
Rack::Response now conforms to body.close SPEC
* Previously 204, 205 and 304 bodies were not closed correctly.
James Tucker [Fri, 28 Dec 2012 22:28:26 +0000 (17:28 -0500)]
Rack::Head now conforms to body.close SPEC
Conflicts:
test/spec_head.rb
James Tucker [Fri, 28 Dec 2012 22:19:04 +0000 (17:19 -0500)]
Cascade now conforms to the body.close SPEC
James Tucker [Fri, 28 Dec 2012 22:02:06 +0000 (17:02 -0500)]
Clarify the body.close spec section
* This item is frequently missed, including in core.
* This is not a change in semantic requirement, and does not update the SPEC
version.
James Tucker [Sat, 3 Nov 2012 15:35:04 +0000 (08:35 -0700)]
Ensure that deflater always closes bodies.
Closes #349
Zachary Scott [Fri, 2 Nov 2012 23:24:53 +0000 (19:24 -0400)]
Rack::BodyProxy#each, fixes rack/rack#434
James Tucker [Fri, 2 Nov 2012 20:54:39 +0000 (13:54 -0700)]
Prevent infinite recursions from Response#to_ary
Closes #419
James Tucker [Fri, 2 Nov 2012 20:03:59 +0000 (13:03 -0700)]
Return a bad request for malformed basic auth
Closes #438
Zachary Scott [Thu, 25 Oct 2012 03:59:49 +0000 (23:59 -0400)]
rescue Errno::ESRCH for windows, fixes #391
Christian Neukirchen [Mon, 22 Oct 2012 14:58:43 +0000 (16:58 +0200)]
Add redrawn logos by Zachary Scott
Date: Mon, 22 Oct 2012 10:29:22 -0400
Message-ID: <CAH6G9XNkVkUWh9JPT9HuHzJ4KmRNoPSr8ov3q0rgzH3b=u3cGw@mail.gmail.com>
On Mon, Oct 22, 2012 at 10:17 AM, Christian Neukirchen
<chneukirchen@gmail.com> wrote:
> Is it ok to put the other files as MIT license into contrib/?
> (Perhaps add a copyright message to the .svg)
Whatever you want, they're all yours.
Thanks!
Konstantin Haase [Mon, 30 Jul 2012 13:36:54 +0000 (16:36 +0300)]
Update years in license
ITO Nobuaki [Fri, 13 Jul 2012 06:51:50 +0000 (15:51 +0900)]
Use backport of URI module even on ruby 1.9.2-p320.
ITO Nobuaki [Fri, 13 Jul 2012 06:03:17 +0000 (15:03 +0900)]
Added missing dependence on 'timeout' in test/spec_utils.
ITO Nobuaki [Thu, 12 Jul 2012 02:52:57 +0000 (11:52 +0900)]
Fix request loop on non-stale nonce with time_limit parameter.
Conrad Irwin [Mon, 4 Jun 2012 07:28:42 +0000 (00:28 -0700)]
Set __LINE__ correctly for rackup files.
Before this change the line numbers were off by one, which broke
debugging tools like Pry in addition to causing a smidgen of user
confusion.
Reported-At: https://github.com/pry/pry/issues/571
Hrvoje Šimić [Tue, 22 May 2012 15:00:02 +0000 (17:00 +0200)]
update the dead link
remove the dead link
use internet archive for a dead link
added working link
James Tucker [Sun, 13 May 2012 17:51:45 +0000 (10:51 -0700)]
Improve pidfile reporting and test coverage
* Output reduced to a single line
* Integration test added that also suppresses and checks output
Jean Boussier [Sat, 5 May 2012 16:05:32 +0000 (12:05 -0400)]
Check if the PID in pidfile is still running #371
Then abort or remove the pidfile
Jean Boussier [Wed, 21 Mar 2012 10:31:02 +0000 (11:31 +0100)]
Check that the pidfile is not already present before overriding it
Konstantin Haase [Sat, 12 May 2012 19:21:18 +0000 (21:21 +0200)]
point to github page instead of rubyforge
Anurag Priyam [Thu, 26 Apr 2012 09:29:59 +0000 (14:59 +0530)]
rackup: include the value of each -I command line option in $LOAD_PATH
`rackup -h` says '-I' can be used more than once. However, instead of adding
each value to $LOAD_PATH, rackup would discard the value of all but the last
'-I' option.
Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Josef Sin [Thu, 12 Apr 2012 13:28:45 +0000 (15:28 +0200)]
Skipping empty params inside query what lead to parsing error.
Example of these cookies would be: "foo=bar,;bar=foo" or ",foo=bar;,"
Conflicts:
test/spec_utils.rb
Konstantin Haase [Sun, 11 Mar 2012 11:56:56 +0000 (12:56 +0100)]
don't load broken backports on jruby, either
Konstantin Haase [Sun, 11 Mar 2012 10:40:36 +0000 (11:40 +0100)]
fix version comparison, again
Konstantin Haase [Sun, 11 Mar 2012 10:21:28 +0000 (11:21 +0100)]
fix version comparison
Konstantin Haase [Sun, 11 Mar 2012 10:03:34 +0000 (11:03 +0100)]
regexp issue has been fixed in Ruby 1.9.2-p381
Ben Hamill [Wed, 7 Mar 2012 03:20:32 +0000 (21:20 -0600)]
Use `const_defined?` so that it only checks withing the scope of URI.
Stefano Cobianchi [Mon, 5 Mar 2012 22:17:53 +0000 (23:17 +0100)]
Don't load the backport for uri/common.rb when running 1.9.3-p125 and beyond
Ben Hamill [Sun, 4 Mar 2012 03:36:32 +0000 (21:36 -0600)]
Uh. Put the conditional on the CORRECT line. :sweat:
Ben Hamill [Sun, 4 Mar 2012 03:25:34 +0000 (21:25 -0600)]
Only remove a constant if it exists.
Aaron Patterson [Wed, 25 Jan 2012 19:25:17 +0000 (11:25 -0800)]
Backported fixes for:
http://bugs.ruby-lang.org/issues/5925
Relevant commit:
https://github.com/ruby/ruby/commit/
edb7cdf1eabaff78dfa5ffedfbc2e91b29fa9ca1
James Tucker [Sun, 13 May 2012 22:02:17 +0000 (15:02 -0700)]
Fix parsing performance for unquoted filenames
Special thanks to Paul Rogers & Eric Wong
Conflicts:
test/spec_multipart.rb
James Tucker [Mon, 19 Mar 2012 01:36:31 +0000 (18:36 -0700)]
Add warning to strongly recommend to people to have secrets protecting their cookies
James Tucker [Wed, 28 Dec 2011 02:51:49 +0000 (22:51 -0400)]
Release notes and version bump
Evan Phoenix [Tue, 13 Dec 2011 18:18:48 +0000 (10:18 -0800)]
Limit the size of parameter keys
Signed-off-by: James Tucker <jftucker@gmail.com>
James Tucker [Tue, 18 Oct 2011 05:30:39 +0000 (22:30 -0700)]
Bump to 1.3.5 (aaah, laptop power running out...)
James Tucker [Tue, 18 Oct 2011 05:28:34 +0000 (22:28 -0700)]
Add release note for 1.3.5
Ben Hamill [Tue, 4 Oct 2011 04:44:31 +0000 (23:44 -0500)]
fixes #246. Silence the warning about redefining this constant from the standard library.
James Tucker [Sat, 1 Oct 2011 20:30:35 +0000 (13:30 -0700)]
Gahhh TAAABBZZZ
James Tucker [Sat, 1 Oct 2011 20:28:03 +0000 (13:28 -0700)]
Bump version number
James Tucker [Sat, 1 Oct 2011 20:25:12 +0000 (13:25 -0700)]
Correct 1.3.4 release message
Conflicts:
README.rdoc
James Tucker [Sat, 1 Oct 2011 20:22:52 +0000 (13:22 -0700)]
Update README for the 1.3.4 release
James Tucker [Fri, 16 Sep 2011 23:08:22 +0000 (16:08 -0700)]
Use the modern mongrel that should work on jruby and 1.9
James Tucker [Fri, 16 Sep 2011 23:05:26 +0000 (16:05 -0700)]
Adding travis-ci yaml setup... going to need to fix up the environment
James Tucker [Fri, 16 Sep 2011 23:02:21 +0000 (16:02 -0700)]
Add a Gemfile, this is purely for travis-ci
James Tucker [Sat, 1 Oct 2011 15:55:37 +0000 (08:55 -0700)]
Simplify BodyProxy#close to avoid horrible loop conditions in streaming
scenarios, and save users from themselves
James Tucker [Sat, 1 Oct 2011 18:39:08 +0000 (11:39 -0700)]
Add some documentation to cover distribution differences in /etc/mime.types.
Closes #187.
Tim Lucas [Wed, 28 Sep 2011 23:50:10 +0000 (01:50 +0200)]
Added backport of Ruby URI's 1.9.3 DoS fix
Tim Lucas [Wed, 28 Sep 2011 23:30:15 +0000 (01:30 +0200)]
Regression test for DoS attack on form/cookie param decoding
See http://redmine.ruby-lang.org/issues/5149
Konstantin Haase [Sat, 1 Oct 2011 06:59:04 +0000 (01:59 -0500)]
fix issue with Thin and Rack::BodyProxy on Ruby 1.9.2
James Tucker [Fri, 16 Sep 2011 23:30:49 +0000 (16:30 -0700)]
Bump version!
James Tucker [Fri, 16 Sep 2011 23:30:34 +0000 (16:30 -0700)]
Update for release date
Konstantin Haase [Wed, 7 Sep 2011 17:34:00 +0000 (10:34 -0700)]
update changes for 1.3.3
Nicholas Mulder [Wed, 31 Aug 2011 15:05:40 +0000 (11:05 -0400)]
BugFix in ConditionalGet; don't crash when we get a malformed HTTP_IF_MODIFIED_SINCE timestamp
James Tucker [Sun, 21 Aug 2011 23:07:51 +0000 (16:07 -0700)]
Fix bugs with MRI 1.8.x regex engine
James Tucker [Sun, 21 Aug 2011 23:07:34 +0000 (16:07 -0700)]
Ignore tarballs from releases
James Tucker [Sun, 21 Aug 2011 23:06:50 +0000 (16:06 -0700)]
Make tests easier to run cross-interpreter
James Tucker [Sun, 21 Aug 2011 23:06:28 +0000 (16:06 -0700)]
Fix for psych
Konstantin Haase [Thu, 1 Sep 2011 20:45:46 +0000 (14:45 -0600)]
make tests pass on 1.8 again
Konstantin Haase [Tue, 23 Aug 2011 16:25:26 +0000 (18:25 +0200)]
better error message when unable to parse cookie, see #225
Konstantin Haase [Tue, 23 Aug 2011 15:35:39 +0000 (17:35 +0200)]
refactor Request#cookies, fixes #225
Luke Jahnke [Mon, 1 Aug 2011 13:12:00 +0000 (23:12 +1000)]
Fixed an unhandled condition where req.GET or req.POST could be nil if a URI
such as a=1&a[]=1 was parsed.
Santiago Pastorino [Wed, 27 Jul 2011 14:40:27 +0000 (11:40 -0300)]
Fix mod_xsendfile url
James Tucker [Sat, 16 Jul 2011 21:45:19 +0000 (14:45 -0700)]
Bump version
James Tucker [Sat, 16 Jul 2011 21:43:44 +0000 (14:43 -0700)]
Update for the 1.3.2 release
Conflicts:
README.rdoc
Santiago Pastorino [Sat, 16 Jul 2011 20:14:03 +0000 (17:14 -0300)]
Rack::Utils.escape should work with symbols in Ruby 1.8.7
James Tucker [Wed, 13 Jul 2011 23:13:50 +0000 (16:13 -0700)]
Bump version
James Tucker [Wed, 13 Jul 2011 23:10:37 +0000 (16:10 -0700)]
Update readme pending patch release
James Tucker [Wed, 13 Jul 2011 23:05:43 +0000 (16:05 -0700)]
Merge pull request #206 from brendan/
19451fc0463ec424fa368cac05be15c75e87e016
Fixed a Regexp that allows bad urls to DoS you.
Brendan Baldwin [Wed, 13 Jul 2011 20:01:59 +0000 (13:01 -0700)]
Fixed a Regexp bug that can DoS your box.
nleguen [Sat, 2 Jul 2011 20:57:29 +0000 (13:57 -0700)]
Edited lib/rack/sendfile.rb via GitHub
Konstantin Haase [Wed, 29 Jun 2011 18:20:25 +0000 (20:20 +0200)]
update changes
Konstantin Haase [Wed, 29 Jun 2011 18:13:36 +0000 (20:13 +0200)]
prepare readme for 1.3.1
Konstantin Haase [Tue, 14 Jun 2011 07:37:48 +0000 (09:37 +0200)]
Have MockRequest call close on the body rather than MockResponse.
That way close is called automatically when testing just with
vanilla Rack, but not called twice when using other testing libs
like rack-test.
Related to #191.
Konstantin Haase [Fri, 10 Jun 2011 15:59:44 +0000 (17:59 +0200)]
test for Rack::Response#close
Konstantin Haase [Thu, 9 Jun 2011 20:14:35 +0000 (22:14 +0200)]
call #close on body in mock responses
Samuel Williams [Wed, 29 Jun 2011 17:21:14 +0000 (10:21 -0700)]
Minor error in documentation regarding the order of parameters in HTTP_X_ACCEL_MAPPING.
Matthew M. Boedicker [Mon, 27 Jun 2011 00:49:47 +0000 (20:49 -0400)]
make sure the Cache-Control header can never be nil