summary refs log tree commit
path: root/lib/rack/request.rb
DateCommit message (Expand)
2014-10-02Less allocated objects on each request
2014-08-04Revert "Merge branch 'pr/686'"
2014-08-03Merge pull request #669 from alindeman/multiple_x_http_forwarded_proto
2014-08-03Merge branch 'master' into pr/686
2014-07-18correct weird case regression from #714
2014-07-18Fix media_type_params when Content-Type parameters contains quoted-strings
2014-07-13Merge pull request #705 from stevehodgkiss/fix_ip_spoofing_vulnerability
2014-07-13Do not truncate POST data on `;`, closes #543
2014-07-11Prevent IP spoofing via X-Forwarded-For and Client-IP headers
2014-05-14add support for application/json content type requests
2014-03-24request.scheme supports multiple x-http-forwarded-proto values
2014-02-26Remove outdated comment in request.rb about instance-memoization
2013-12-28Merge pull request #615 from vspy/master
2013-12-05add parse_http_accept_header utility method to simplify accept_encoding and a...
2013-11-25Add accept_language method to request to extract HTTP_ACCEPT_LANGUAGE header ...
2013-10-23correct handling for incomplete hash/array parameters
2013-08-22Merge pull request #588 from statianzo/tempfile-form-input
2013-08-20Use `sub` as we only need to substitute once.
2013-07-18Use equal? to compare form_input to rack.input
2013-06-15add #link? and #unlink?
2013-05-21Ensure request.POST always raises EOFError on bad input
2013-04-19correct Request#port for lighttpd2 proxy case
2013-02-02Request#trusted_proxy? no longer accepts lines
2013-01-11Enable unix sockets with paths as trusted proxies
2012-12-29Do not fail on cookies that are not URI escaped
2012-12-12better support for coffee protocol
2012-12-12whitespace removal
2012-05-02only update param where it was previously defined
2012-05-01provide Rack::Request#update_param and Rack::Request#delete_param
2012-03-02Unix sockets are now correctly considered as local proxies.
2012-01-10Improving a method name
2012-01-10Refactoring ip method
2012-01-07Merge pull request #296 from jm3/patch-2
2011-12-28...except after c.
2011-12-27Add support for HTTP_X_FORWARDED_SCHEME. From pull request 292, reimplemented...
2011-12-17Don't modify the backtrace, because that makes debugging crazy-difficult
2011-10-01also trust localhost
2011-10-01moved the trusted_proxy regex into a separate method to allow overriding, add...
2011-10-01support for trusted proxies and IPv6 for Request#ip
2011-09-16Merge pull request #231 from lawrencepit/cookies
2011-09-13added some comments to HTTP verb checks, for the rdoc
2011-09-08Request should return cookies, also when initially not set.
2011-09-07Merge pull request #224 from kou/parse-accept-encoding-loosely
2011-09-01make tests pass on 1.8 again
2011-08-23better error message when unable to parse cookie, see #225
2011-08-23refactor Request#cookies, fixes #225
2011-08-21parse Accept-Encoding header loosely.
2011-05-03Keep #params from merging POST into GET
2011-05-02Autoloads, requires, and using new api
2011-05-02slice is about double the speed on MRI, and slightly faster on 1.9