rack 1.4.7 → 1.6.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rack might be problematic. Click here for more details.

Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/COPYING +1 -1
  3. data/HISTORY.md +355 -0
  4. data/KNOWN-ISSUES +14 -0
  5. data/README.rdoc +50 -334
  6. data/Rakefile +8 -6
  7. data/SPEC +118 -27
  8. data/example/protectedlobster.rb +1 -1
  9. data/lib/rack/auth/abstract/handler.rb +4 -4
  10. data/lib/rack/auth/abstract/request.rb +1 -5
  11. data/lib/rack/auth/basic.rb +1 -1
  12. data/lib/rack/auth/digest/md5.rb +1 -1
  13. data/lib/rack/auth/digest/request.rb +2 -2
  14. data/lib/rack/backports/uri/common_18.rb +1 -1
  15. data/lib/rack/builder.rb +27 -8
  16. data/lib/rack/cascade.rb +5 -5
  17. data/lib/rack/chunked.rb +14 -3
  18. data/lib/rack/commonlogger.rb +17 -9
  19. data/lib/rack/conditionalget.rb +18 -6
  20. data/lib/rack/config.rb +5 -0
  21. data/lib/rack/content_length.rb +7 -3
  22. data/lib/rack/content_type.rb +1 -1
  23. data/lib/rack/deflater.rb +66 -15
  24. data/lib/rack/directory.rb +13 -7
  25. data/lib/rack/etag.rb +20 -11
  26. data/lib/rack/file.rb +49 -43
  27. data/lib/rack/handler/cgi.rb +1 -1
  28. data/lib/rack/handler/fastcgi.rb +5 -2
  29. data/lib/rack/handler/lsws.rb +1 -1
  30. data/lib/rack/handler/mongrel.rb +10 -4
  31. data/lib/rack/handler/scgi.rb +7 -4
  32. data/lib/rack/handler/thin.rb +13 -4
  33. data/lib/rack/handler/webrick.rb +52 -10
  34. data/lib/rack/handler.rb +22 -7
  35. data/lib/rack/head.rb +10 -3
  36. data/lib/rack/lint.rb +228 -37
  37. data/lib/rack/lobster.rb +13 -8
  38. data/lib/rack/lock.rb +2 -0
  39. data/lib/rack/methodoverride.rb +17 -7
  40. data/lib/rack/mime.rb +16 -0
  41. data/lib/rack/mock.rb +22 -14
  42. data/lib/rack/multipart/parser.rb +119 -50
  43. data/lib/rack/multipart/uploaded_file.rb +2 -2
  44. data/lib/rack/multipart.rb +2 -2
  45. data/lib/rack/nulllogger.rb +21 -2
  46. data/lib/rack/recursive.rb +6 -5
  47. data/lib/rack/request.rb +115 -56
  48. data/lib/rack/response.rb +14 -8
  49. data/lib/rack/runtime.rb +16 -3
  50. data/lib/rack/sendfile.rb +29 -10
  51. data/lib/rack/server.rb +65 -29
  52. data/lib/rack/session/abstract/id.rb +84 -62
  53. data/lib/rack/session/cookie.rb +41 -23
  54. data/lib/rack/session/memcache.rb +4 -4
  55. data/lib/rack/session/pool.rb +3 -6
  56. data/lib/rack/showexceptions.rb +20 -11
  57. data/lib/rack/showstatus.rb +4 -4
  58. data/lib/rack/static.rb +30 -33
  59. data/lib/rack/tempfile_reaper.rb +22 -0
  60. data/lib/rack/urlmap.rb +21 -6
  61. data/lib/rack/utils/okjson.rb +600 -0
  62. data/lib/rack/utils.rb +189 -83
  63. data/lib/rack.rb +17 -14
  64. data/rack.gemspec +5 -9
  65. data/test/multipart/filename_and_no_name +6 -0
  66. data/test/multipart/invalid_character +6 -0
  67. data/test/spec_body_proxy.rb +16 -0
  68. data/test/spec_builder.rb +20 -4
  69. data/test/spec_cgi.rb +1 -1
  70. data/test/spec_chunked.rb +19 -5
  71. data/test/spec_commonlogger.rb +36 -0
  72. data/test/spec_content_length.rb +6 -7
  73. data/test/spec_deflater.rb +290 -138
  74. data/test/spec_etag.rb +11 -2
  75. data/test/spec_fastcgi.rb +1 -1
  76. data/test/spec_file.rb +35 -14
  77. data/test/spec_handler.rb +4 -0
  78. data/test/spec_head.rb +5 -8
  79. data/test/spec_lint.rb +60 -25
  80. data/test/spec_lobster.rb +1 -1
  81. data/test/spec_lock.rb +4 -7
  82. data/test/spec_methodoverride.rb +10 -0
  83. data/test/spec_mime.rb +51 -0
  84. data/test/spec_mock.rb +8 -0
  85. data/test/spec_mongrel.rb +1 -1
  86. data/test/spec_multipart.rb +112 -1
  87. data/test/spec_nulllogger.rb +3 -6
  88. data/test/spec_request.rb +283 -11
  89. data/test/spec_response.rb +43 -13
  90. data/test/spec_sendfile.rb +47 -7
  91. data/test/spec_server.rb +54 -8
  92. data/test/spec_session_abstract_id.rb +11 -1
  93. data/test/spec_session_cookie.rb +204 -155
  94. data/test/spec_session_memcache.rb +1 -1
  95. data/test/spec_showexceptions.rb +29 -36
  96. data/test/spec_showstatus.rb +19 -0
  97. data/test/spec_tempfile_reaper.rb +63 -0
  98. data/test/spec_thin.rb +6 -1
  99. data/test/spec_urlmap.rb +24 -1
  100. data/test/spec_utils.rb +96 -3
  101. data/test/spec_version.rb +17 -0
  102. data/test/spec_webrick.rb +42 -1
  103. metadata +17 -62
  104. data/test/spec_auth.rb +0 -57
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e3c31ab2a14865deb3a2572ffb4e5041805e03b6
4
- data.tar.gz: 4c46599689ac47586891e494975865d24047c364
3
+ metadata.gz: fb00d79382a3da4823e22b19a39e44c18b6ecf95
4
+ data.tar.gz: 5bb320ab78e603bb4da43d757bba382654562f3a
5
5
  SHA512:
6
- metadata.gz: 46969b1d5dd0866d2fe3bc407cd15d862ea6cdafb05260fa7c7f4fea7832c927e690de1a46e685ef0e52f0dafbbee19780fc164b27e672b2d598ff4ffd758565
7
- data.tar.gz: 3ad91dddc637cd4e7285d4e4dee55aab4fad2c3327cb0dfa8b6e10fbb3d00643bb0a83985f3e28f6eafb9c9439cb9295d4d8d9e62f1a6f54013e626a55e05e44
6
+ metadata.gz: b3ef871417f3da49fac5952395efb126fe540303227f6a1a1f0bedc08b33abfed4cef4a001e788284ca0135eed3e39b0471cd865af78f1b1ef2efcb076ba07c8
7
+ data.tar.gz: a1fd7d68a5503e67c985089855c2544e10009677949fe6945bd51cfe59796eb5d60879687884b46319ebd7b0858723caa57ee68a4d9cf8f7463b355591905500
data/COPYING CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2007, 2008, 2009, 2010, 2011, 2012 Christian Neukirchen <purl.org/net/chneukirchen>
1
+ Copyright (c) 2007-2015 Christian Neukirchen <purl.org/net/chneukirchen>
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  of this software and associated documentation files (the "Software"), to
data/HISTORY.md ADDED
@@ -0,0 +1,355 @@
1
+ Fri Jun 19 07:14:50 2015 Matthew Draper <matthew@trebex.net>
2
+
3
+ * Work around a Rails incompatibility in our private API
4
+
5
+ Fri Jun 12 11:37:41 2015 Aaron Patterson <tenderlove@ruby-lang.org>
6
+
7
+ * Prevent extremely deep parameters from being parsed. CVE-2015-3225
8
+
9
+ ### December 18th, Thirty sixth public release 1.6.0
10
+
11
+ ### February 7th, Thirty fifth public release 1.5.2
12
+ - Fix CVE-2013-0263, timing attack against Rack::Session::Cookie
13
+ - Fix CVE-2013-0262, symlink path traversal in Rack::File
14
+ - Add various methods to Session for enhanced Rails compatibility
15
+ - Request#trusted_proxy? now only matches whole stirngs
16
+ - Add JSON cookie coder, to be default in Rack 1.6+ due to security concerns
17
+ - URLMap host matching in environments that don't set the Host header fixed
18
+ - Fix a race condition that could result in overwritten pidfiles
19
+ - Various documentation additions
20
+
21
+ ### February 7th, Thirty fifth public release 1.4.5
22
+ - Fix CVE-2013-0263, timing attack against Rack::Session::Cookie
23
+ - Fix CVE-2013-0262, symlink path traversal in Rack::File
24
+
25
+ ### February 7th, Thirty fifth public release 1.1.6, 1.2.8, 1.3.10
26
+ - Fix CVE-2013-0263, timing attack against Rack::Session::Cookie
27
+
28
+ ### January 28th, 2013: Thirty fourth public release 1.5.1
29
+ - Rack::Lint check_hijack now conforms to other parts of SPEC
30
+ - Added hash-like methods to Abstract::ID::SessionHash for compatibility
31
+ - Various documentation corrections
32
+
33
+ ### January 21st, 2013: Thirty third public release 1.5.0
34
+ - Introduced hijack SPEC, for before-response and after-response hijacking
35
+ - SessionHash is no longer a Hash subclass
36
+ - Rack::File cache_control parameter is removed, in place of headers options
37
+ - Rack::Auth::AbstractRequest#scheme now yields strings, not symbols
38
+ - Rack::Utils cookie functions now format expires in RFC 2822 format
39
+ - Rack::File now has a default mime type
40
+ - rackup -b 'run Rack::File.new(".")', option provides command line configs
41
+ - Rack::Deflater will no longer double encode bodies
42
+ - Rack::Mime#match? provides convenience for Accept header matching
43
+ - Rack::Utils#q_values provides splitting for Accept headers
44
+ - Rack::Utils#best_q_match provides a helper for Accept headers
45
+ - Rack::Handler.pick provides convenience for finding available servers
46
+ - Puma added to the list of default servers (preferred over Webrick)
47
+ - Various middleware now correctly close body when replacing it
48
+ - Rack::Request#params is no longer persistent with only GET params
49
+ - Rack::Request#update_param and #delete_param provide persistent operations
50
+ - Rack::Request#trusted_proxy? now returns true for local unix sockets
51
+ - Rack::Response no longer forces Content-Types
52
+ - Rack::Sendfile provides local mapping configuration options
53
+ - Rack::Utils#rfc2109 provides old netscape style time output
54
+ - Updated HTTP status codes
55
+ - Ruby 1.8.6 likely no longer passes tests, and is no longer fully supported
56
+
57
+ ### January 13th, 2013: Thirty second public release 1.4.4, 1.3.9, 1.2.7, 1.1.5
58
+ - [SEC] Rack::Auth::AbstractRequest no longer symbolizes arbitrary strings
59
+ - Fixed erroneous test case in the 1.3.x series
60
+
61
+ ### January 7th, 2013: Thirty first public release 1.4.3
62
+ - Security: Prevent unbounded reads in large multipart boundaries
63
+
64
+ ### January 7th, 2013: Thirtieth public release 1.3.8
65
+ - Security: Prevent unbounded reads in large multipart boundaries
66
+
67
+ ### January 6th, 2013: Twenty ninth public release 1.4.2
68
+ - Add warnings when users do not provide a session secret
69
+ - Fix parsing performance for unquoted filenames
70
+ - Updated URI backports
71
+ - Fix URI backport version matching, and silence constant warnings
72
+ - Correct parameter parsing with empty values
73
+ - Correct rackup '-I' flag, to allow multiple uses
74
+ - Correct rackup pidfile handling
75
+ - Report rackup line numbers correctly
76
+ - Fix request loops caused by non-stale nonces with time limits
77
+ - Fix reloader on Windows
78
+ - Prevent infinite recursions from Response#to_ary
79
+ - Various middleware better conforms to the body close specification
80
+ - Updated language for the body close specification
81
+ - Additional notes regarding ECMA escape compatibility issues
82
+ - Fix the parsing of multiple ranges in range headers
83
+ - Prevent errors from empty parameter keys
84
+ - Added PATCH verb to Rack::Request
85
+ - Various documentation updates
86
+ - Fix session merge semantics (fixes rack-test)
87
+ - Rack::Static :index can now handle multiple directories
88
+ - All tests now utilize Rack::Lint (special thanks to Lars Gierth)
89
+ - Rack::File cache_control parameter is now deprecated, and removed by 1.5
90
+ - Correct Rack::Directory script name escaping
91
+ - Rack::Static supports header rules for sophisticated configurations
92
+ - Multipart parsing now works without a Content-Length header
93
+ - New logos courtesy of Zachary Scott!
94
+ - Rack::BodyProxy now explicitly defines #each, useful for C extensions
95
+ - Cookies that are not URI escaped no longer cause exceptions
96
+
97
+ ### January 6th, 2013: Twenty eighth public release 1.3.7
98
+ - Add warnings when users do not provide a session secret
99
+ - Fix parsing performance for unquoted filenames
100
+ - Updated URI backports
101
+ - Fix URI backport version matching, and silence constant warnings
102
+ - Correct parameter parsing with empty values
103
+ - Correct rackup '-I' flag, to allow multiple uses
104
+ - Correct rackup pidfile handling
105
+ - Report rackup line numbers correctly
106
+ - Fix request loops caused by non-stale nonces with time limits
107
+ - Fix reloader on Windows
108
+ - Prevent infinite recursions from Response#to_ary
109
+ - Various middleware better conforms to the body close specification
110
+ - Updated language for the body close specification
111
+ - Additional notes regarding ECMA escape compatibility issues
112
+ - Fix the parsing of multiple ranges in range headers
113
+
114
+ ### January 6th, 2013: Twenty seventh public release 1.2.6
115
+ - Add warnings when users do not provide a session secret
116
+ - Fix parsing performance for unquoted filenames
117
+
118
+ ### January 6th, 2013: Twenty sixth public release 1.1.4
119
+ - Add warnings when users do not provide a session secret
120
+
121
+ ### January 22nd, 2012: Twenty fifth public release 1.4.1
122
+ - Alter the keyspace limit calculations to reduce issues with nested params
123
+ - Add a workaround for multipart parsing where files contain unescaped "%"
124
+ - Added Rack::Response::Helpers#method_not_allowed? (code 405)
125
+ - Rack::File now returns 404 for illegal directory traversals
126
+ - Rack::File now returns 405 for illegal methods (non HEAD/GET)
127
+ - Rack::Cascade now catches 405 by default, as well as 404
128
+ - Cookies missing '--' no longer cause an exception to be raised
129
+ - Various style changes and documentation spelling errors
130
+ - Rack::BodyProxy always ensures to execute its block
131
+ - Additional test coverage around cookies and secrets
132
+ - Rack::Session::Cookie can now be supplied either secret or old_secret
133
+ - Tests are no longer dependent on set order
134
+ - Rack::Static no longer defaults to serving index files
135
+ - Rack.release was fixed
136
+
137
+ ### December 28th, 2011: Twenty fourth public release 1.4.0
138
+ - Ruby 1.8.6 support has officially been dropped. Not all tests pass.
139
+ - Raise sane error messages for broken config.ru
140
+ - Allow combining run and map in a config.ru
141
+ - Rack::ContentType will not set Content-Type for responses without a body
142
+ - Status code 205 does not send a response body
143
+ - Rack::Response::Helpers will not rely on instance variables
144
+ - Rack::Utils.build_query no longer outputs '=' for nil query values
145
+ - Various mime types added
146
+ - Rack::MockRequest now supports HEAD
147
+ - Rack::Directory now supports files that contain RFC3986 reserved chars
148
+ - Rack::File now only supports GET and HEAD requests
149
+ - Rack::Server#start now passes the block to Rack::Handler::<h>#run
150
+ - Rack::Static now supports an index option
151
+ - Added the Teapot status code
152
+ - rackup now defaults to Thin instead of Mongrel (if installed)
153
+ - Support added for HTTP_X_FORWARDED_SCHEME
154
+ - Numerous bug fixes, including many fixes for new and alternate rubies
155
+
156
+ ### December 28th, 2011: Twenty first public release: 1.1.3.
157
+ - Security fix. http://www.ocert.org/advisories/ocert-2011-003.html
158
+ Further information here: http://jruby.org/2011/12/27/jruby-1-6-5-1
159
+
160
+ ### October 17, 2011: Twentieth public release 1.3.5
161
+ - Fix annoying warnings caused by the backport in 1.3.4
162
+
163
+ ### October 1, 2011: Nineteenth public release 1.3.4
164
+ - Backport security fix from 1.9.3, also fixes some roundtrip issues in URI
165
+ - Small documentation update
166
+ - Fix an issue where BodyProxy could cause an infinite recursion
167
+ - Add some supporting files for travis-ci
168
+
169
+ ### September 16, 2011: Eighteenth public release 1.2.4
170
+ - Fix a bug with MRI regex engine to prevent XSS by malformed unicode
171
+
172
+ ### September 16, 2011: Seventeenth public release 1.3.3
173
+ - Fix bug with broken query parameters in Rack::ShowExceptions
174
+ - Rack::Request#cookies no longer swallows exceptions on broken input
175
+ - Prevents XSS attacks enabled by bug in Ruby 1.8's regexp engine
176
+ - Rack::ConditionalGet handles broken If-Modified-Since helpers
177
+
178
+ ### July 16, 2011: Sixteenth public release 1.3.2
179
+ - Fix for Rails and rack-test, Rack::Utils#escape calls to_s
180
+
181
+ ### July 13, 2011: Fifteenth public release 1.3.1
182
+ - Fix 1.9.1 support
183
+ - Fix JRuby support
184
+ - Properly handle $KCODE in Rack::Utils.escape
185
+ - Make method_missing/respond_to behavior consistent for Rack::Lock,
186
+ Rack::Auth::Digest::Request and Rack::Multipart::UploadedFile
187
+ - Reenable passing rack.session to session middleware
188
+ - Rack::CommonLogger handles streaming responses correctly
189
+ - Rack::MockResponse calls close on the body object
190
+ - Fix a DOS vector from MRI stdlib backport
191
+
192
+ ### May 22nd, 2011: Fourteenth public release 1.2.3
193
+ - Pulled in relevant bug fixes from 1.3
194
+ - Fixed 1.8.6 support
195
+
196
+ ### May 22nd, 2011: Thirteenth public release 1.3.0
197
+ - Various performance optimizations
198
+ - Various multipart fixes
199
+ - Various multipart refactors
200
+ - Infinite loop fix for multipart
201
+ - Test coverage for Rack::Server returns
202
+ - Allow files with '..', but not path components that are '..'
203
+ - rackup accepts handler-specific options on the command line
204
+ - Request#params no longer merges POST into GET (but returns the same)
205
+ - Use URI.encode_www_form_component instead. Use core methods for escaping.
206
+ - Allow multi-line comments in the config file
207
+ - Bug L#94 reported by Nikolai Lugovoi, query parameter unescaping.
208
+ - Rack::Response now deletes Content-Length when appropriate
209
+ - Rack::Deflater now supports streaming
210
+ - Improved Rack::Handler loading and searching
211
+ - Support for the PATCH verb
212
+ - env['rack.session.options'] now contains session options
213
+ - Cookies respect renew
214
+ - Session middleware uses SecureRandom.hex
215
+
216
+ ### March 13th, 2011: Twelfth public release 1.2.2/1.1.2.
217
+ - Security fix in Rack::Auth::Digest::MD5: when authenticator
218
+ returned nil, permission was granted on empty password.
219
+
220
+ ### June 15th, 2010: Eleventh public release 1.2.1.
221
+ - Make CGI handler rewindable
222
+ - Rename spec/ to test/ to not conflict with SPEC on lesser
223
+ operating systems
224
+
225
+ ### June 13th, 2010: Tenth public release 1.2.0.
226
+ - Removed Camping adapter: Camping 2.0 supports Rack as-is
227
+ - Removed parsing of quoted values
228
+ - Add Request.trace? and Request.options?
229
+ - Add mime-type for .webm and .htc
230
+ - Fix HTTP_X_FORWARDED_FOR
231
+ - Various multipart fixes
232
+ - Switch test suite to bacon
233
+
234
+ ### January 3rd, 2010: Ninth public release 1.1.0.
235
+ - Moved Auth::OpenID to rack-contrib.
236
+ - SPEC change that relaxes Lint slightly to allow subclasses of the
237
+ required types
238
+ - SPEC change to document rack.input binary mode in greator detail
239
+ - SPEC define optional rack.logger specification
240
+ - File servers support X-Cascade header
241
+ - Imported Config middleware
242
+ - Imported ETag middleware
243
+ - Imported Runtime middleware
244
+ - Imported Sendfile middleware
245
+ - New Logger and NullLogger middlewares
246
+ - Added mime type for .ogv and .manifest.
247
+ - Don't squeeze PATH_INFO slashes
248
+ - Use Content-Type to determine POST params parsing
249
+ - Update Rack::Utils::HTTP_STATUS_CODES hash
250
+ - Add status code lookup utility
251
+ - Response should call #to_i on the status
252
+ - Add Request#user_agent
253
+ - Request#host knows about forwared host
254
+ - Return an empty string for Request#host if HTTP_HOST and
255
+ SERVER_NAME are both missing
256
+ - Allow MockRequest to accept hash params
257
+ - Optimizations to HeaderHash
258
+ - Refactored rackup into Rack::Server
259
+ - Added Utils.build_nested_query to complement Utils.parse_nested_query
260
+ - Added Utils::Multipart.build_multipart to complement
261
+ Utils::Multipart.parse_multipart
262
+ - Extracted set and delete cookie helpers into Utils so they can be
263
+ used outside Response
264
+ - Extract parse_query and parse_multipart in Request so subclasses
265
+ can change their behavior
266
+ - Enforce binary encoding in RewindableInput
267
+ - Set correct external_encoding for handlers that don't use RewindableInput
268
+
269
+ ### October 18th, 2009: Eighth public release 1.0.1.
270
+ - Bump remainder of rack.versions.
271
+ - Support the pure Ruby FCGI implementation.
272
+ - Fix for form names containing "=": split first then unescape components
273
+ - Fixes the handling of the filename parameter with semicolons in names.
274
+ - Add anchor to nested params parsing regexp to prevent stack overflows
275
+ - Use more compatible gzip write api instead of "<<".
276
+ - Make sure that Reloader doesn't break when executed via ruby -e
277
+ - Make sure WEBrick respects the :Host option
278
+ - Many Ruby 1.9 fixes.
279
+
280
+ ### April 25th, 2009: Seventh public release 1.0.0.
281
+ - SPEC change: Rack::VERSION has been pushed to [1,0].
282
+ - SPEC change: header values must be Strings now, split on "\n".
283
+ - SPEC change: Content-Length can be missing, in this case chunked transfer
284
+ encoding is used.
285
+ - SPEC change: rack.input must be rewindable and support reading into
286
+ a buffer, wrap with Rack::RewindableInput if it isn't.
287
+ - SPEC change: rack.session is now specified.
288
+ - SPEC change: Bodies can now additionally respond to #to_path with
289
+ a filename to be served.
290
+ - NOTE: String bodies break in 1.9, use an Array consisting of a
291
+ single String instead.
292
+ - New middleware Rack::Lock.
293
+ - New middleware Rack::ContentType.
294
+ - Rack::Reloader has been rewritten.
295
+ - Major update to Rack::Auth::OpenID.
296
+ - Support for nested parameter parsing in Rack::Response.
297
+ - Support for redirects in Rack::Response.
298
+ - HttpOnly cookie support in Rack::Response.
299
+ - The Rakefile has been rewritten.
300
+ - Many bugfixes and small improvements.
301
+
302
+ ### January 9th, 2009: Sixth public release 0.9.1.
303
+ - Fix directory traversal exploits in Rack::File and Rack::Directory.
304
+
305
+ ### January 6th, 2009: Fifth public release 0.9.
306
+ - Rack is now managed by the Rack Core Team.
307
+ - Rack::Lint is stricter and follows the HTTP RFCs more closely.
308
+ - Added ConditionalGet middleware.
309
+ - Added ContentLength middleware.
310
+ - Added Deflater middleware.
311
+ - Added Head middleware.
312
+ - Added MethodOverride middleware.
313
+ - Rack::Mime now provides popular MIME-types and their extension.
314
+ - Mongrel Header now streams.
315
+ - Added Thin handler.
316
+ - Official support for swiftiplied Mongrel.
317
+ - Secure cookies.
318
+ - Made HeaderHash case-preserving.
319
+ - Many bugfixes and small improvements.
320
+
321
+ ### August 21st, 2008: Fourth public release 0.4.
322
+ - New middleware, Rack::Deflater, by Christoffer Sawicki.
323
+ - OpenID authentication now needs ruby-openid 2.
324
+ - New Memcache sessions, by blink.
325
+ - Explicit EventedMongrel handler, by Joshua Peek <josh@joshpeek.com>
326
+ - Rack::Reloader is not loaded in rackup development mode.
327
+ - rackup can daemonize with -D.
328
+ - Many bugfixes, especially for pool sessions, URLMap, thread safety
329
+ and tempfile handling.
330
+ - Improved tests.
331
+ - Rack moved to Git.
332
+
333
+ ### February 26th, 2008: Third public release 0.3.
334
+ - LiteSpeed handler, by Adrian Madrid.
335
+ - SCGI handler, by Jeremy Evans.
336
+ - Pool sessions, by blink.
337
+ - OpenID authentication, by blink.
338
+ - :Port and :File options for opening FastCGI sockets, by blink.
339
+ - Last-Modified HTTP header for Rack::File, by blink.
340
+ - Rack::Builder#use now accepts blocks, by Corey Jewett.
341
+ (See example/protectedlobster.ru)
342
+ - HTTP status 201 can contain a Content-Type and a body now.
343
+ - Many bugfixes, especially related to Cookie handling.
344
+
345
+ ### May 16th, 2007: Second public release 0.2.
346
+ - HTTP Basic authentication.
347
+ - Cookie Sessions.
348
+ - Static file handler.
349
+ - Improved Rack::Request.
350
+ - Improved Rack::Response.
351
+ - Added Rack::ShowStatus, for better default error messages.
352
+ - Bug fixes in the Camping adapter.
353
+ - Removed Rails adapter, was too alpha.
354
+
355
+ ### March 3rd, 2007: First public release 0.1.
data/KNOWN-ISSUES CHANGED
@@ -28,3 +28,17 @@
28
28
 
29
29
  Since lighttpd 1.4.23, you also can use the "fix-root-scriptname" flag
30
30
  in fastcgi.server.
31
+
32
+ = Known conflicts regarding parameter parsing
33
+
34
+ * Many users have differing opinions about parameter parsing. The current
35
+ parameter parsers in Rack are based on a combination of the HTTP and CGI
36
+ specs, and are intended to round-trip encoding and decoding. There are some
37
+ choices that may be viewed as deficiencies, specifically:
38
+ - Rack does not create implicit arrays for multiple instances of a parameter
39
+ - Rack returns nil when a value is not given
40
+ - Rack does not support multi-type keys in parameters
41
+ These issues or choices, will not be fixed before 2.0, if at all. They are
42
+ very major breaking changes. Users are free to write alternative parameter
43
+ parsers, and their own Request and Response wrappers. Moreover, users are
44
+ encouraged to do so.