Date | Commit message (Collapse) |
|
yahns will eventually support more than Rack, but for now
it only knows Rack.
ref: http://yahns.yhbt.net/README
|
|
add parentheses to method definitions with arguments
|
|
to keep it uniform with the rest of the repo
|
|
Remove unused require rbconfig
|
|
Rbconfig is no longer used in the :deps task, so no longer required
|
|
avoid copying entire payload twice just to hash it
|
|
|
|
Conditional get is causing exceptions during regular usage
|
|
Change equality check to stop warnings
|
|
|
|
Use equal? to compare form_input to rack.input
|
|
Use `sub` as we only need to substitute once.
|
|
exception raising for all trivial cases (empty and shorter than minimal length strings)
|
|
(Hence the use of `\z`)
|
|
Using equal? provides consistent results of equality between 1.8, 1.9,
and 2.0 when comparing Tempfile objects.
In 1.8, == will change the position of the Tempfile.
In 1.9+, == compares Tempfiles correctly.
In 1.8, eql? compares Tempfiles correctly
In 1.9+, t.eql?(t) always returns false
|
|
Fix bug in sendfile.rb
|
|
The error message called `variation` without the env leading to an `ArgumentError`. It should call `type` instead.
|
|
* rack-1.5:
Bump version number
Add release notes for todays releases
Prevent symlink path traversals
Stop overwriting existing pidfiles.
Use secure_compare for hmac comparison
Add secure_compare to Rack::Utils
Ensure binary modes are used in tests, for Windows
Fix a bug where host matching occurs out of order
Add JSON cookie coder. To be default after 1.6+
add license information to gemspec
Fix reference link
Document Rack::Deflater
Request#trusted_proxy? no longer accepts lines
Add find and set methods to Session object
Conflicts:
lib/rack/session/cookie.rb
rack.gemspec
test/spec_session_cookie.rb
|
|
|
|
Make Rack::Static custom headers thread safe
|
|
Set HttpOnly for cookies using :http_only
|
|
|
|
Add Response#unauthorized? helper
|
|
This helper should come in handy when you want to test the authorization
in your application.
|
|
html escape detail for error message
|
|
|
|
add #link? and #unlink?
|
|
|
|
add LINK and UNLINK methods to method override
|
|
|
|
Modify GitHub pages domain
|
|
Now this page is served as `rack.github.io`.
* https://github.com/blog/1452-new-github-pages-domain-github-io
|
|
Fix some typos
|
|
|
|
Ensure request.POST always raises EOFError on bad input
|
|
Before this fix, if you had a bad multipart request, request.POST would only raise EOFError the first time it was called, and would then return nil on subsequent invocations. This would typically result in the cryptic "can't convert nil into Hash" as a result of calling request.params
|
|
* Do not manipulate instance variables of Rack::File, add new headers
after return from the file server.
* Do not use instance variable to store path, use local vars and params
instead.
Fixes #558
|
|
fix instance variable not initialized warning in Rack::Deflater::GzipStream
|
|
|
|
Closes #550
|
|
|
|
|
|
|
|
Default host to localhost when in development mode.
|
|
* Fixes a bug where body is not enumerated (i.e. HEAD), and as such is never
closed.
* Users suffering from the above bug are encouraged to investigate their
middleware order.
* Supersedes and closes #531.
|
|
* Supersedes & closes #522
|
|
|
|
|
|
* Closes #544
|
|
Use respond_to?
|