summaryrefslogtreecommitdiff
path: root/lib/rack/method_override.rb
Commit message (Collapse)AuthorAgeFilesLines
* Rack::MethodOverride handle QueryParser::ParamsTooDeepError (#2006)Jean byroot Boussier2023-01-111-1/+1
| | | | | | This middleware already handle two types of parsing issues but somehow not this one. Co-authored-by: Jean Boussier <jean.boussier@gmail.com>
* Do not look for override method if there is no form/parseable data (#1980)James Silberbauer2022-11-101-1/+1
|
* Enable directly requiring Rack componentsJeremy Evans2022-02-031-0/+4
| | | | | | | | | | | | | | | | | | | | | Add test:separate task to test run each test file separately. This is to test that directly requiring a rack component will work. With test:separate, the test helper will not require rack, and each test file should call separate_testing with a block that uses require_relative to only require that component being tested. Add the appropriate relative requires to get all tests passing when run separately. Note that this isn't foolproof. In many cases, the tests use Rack components that are not under test (such as lint and mock), and both of those other other rack components, so it's possible the tests are loading hidden dependencies. I attempted to check each component to try to find the hidden dependencies, but it is certainly possible I missed something. Implements #1621.
* remove .freezepavel2018-07-291-2/+2
|
* Merge pull request #1249 from mclark/handle-invalid-method-parametersEileen M. Uchitelle2018-04-231-1/+5
| | | | handle failure to upcase invalid UTF8 strings for `_method` values
* Add frozen_string_literal: true to remaining filesDillon Welch2018-04-131-0/+2
| | | | See https://github.com/rack/rack/issues/1243 for history of this task
* Write MethodOverride errors to RACK_ERRORSCarl Zulauf2016-12-291-1/+4
|
* Minimal resolution of EOFError in MethodOverride middlewareCarl Zulauf2016-12-291-1/+1
|
* Rename files to follow ruby naming conventionsTeo Ljungberg2015-06-241-0/+43
If a class is named NullLogger, it’s file would be named null_logger.rb