aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/cgi_ext/raw_post_data_fix.rb
Commit message (Collapse)AuthorAgeFilesLines
* Never return nil from CGI#read_query for compatibility with plain CGI query ↵Jeremy Kemper2007-03-181-1/+1
| | | | | | params parser. Closes #7581. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6446 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use a consistent load path to avoid double requires. Fix some scattered Ruby ↵Jeremy Kemper2007-01-281-0/+3
| | | | | | warnings. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6057 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4487@asus: jeremy | 2006-04-29 12:21:39 -0700Jeremy Kemper2006-07-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check whether @flash is defined? for warnings-safety. r4488@asus: jeremy | 2006-04-29 12:23:15 -0700 Check whether @flash is defined? for warnings-safety. Obviates nil? check. r4489@asus: jeremy | 2006-04-29 12:45:18 -0700 Check whether @session is defined? for warnings-safety. r4490@asus: jeremy | 2006-04-29 12:50:41 -0700 Check whether @rendering_runtime is defined? for warnings-safety. r4491@asus: jeremy | 2006-04-29 12:55:01 -0700 Check whether @_cycles is defined? for warnings-safety. r4492@asus: jeremy | 2006-04-29 12:59:19 -0700 Check whether instance variables are defined? for warnings-safety. r4493@asus: jeremy | 2006-04-29 13:14:09 -0700 Add nil @template to PrototypeHelperTest to suppress unitialized instance variable warning. r4494@asus: jeremy | 2006-04-29 13:31:34 -0700 Check whether @auto_index defined? for warnings-safety. r4495@asus: jeremy | 2006-04-29 13:32:24 -0700 Wrap content_columns redefinitions with silence_warnings. r4496@asus: jeremy | 2006-04-29 13:35:28 -0700 Wrap more redefinitions with silence_warnings. r4829@asus: jeremy | 2006-07-08 10:59:20 -0700 abstract unit, fix warnings r4830@asus: jeremy | 2006-07-08 11:06:12 -0700 Use parens to silence warning. r4831@asus: jeremy | 2006-07-08 11:06:48 -0700 Use parens to silence warning. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4595 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* r4748@asus: jeremy | 2006-06-29 22:40:35 -0700Jeremy Kemper2006-06-301-1/+1
| | | | | | | Loosen urlencoded content type check. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed proper form-encoded parameter parsing for requests with "Content-Type: ↵David Heinemeier Hansson2006-06-301-1/+1
| | | | | | application/x-www-form-urlencoded; charset=utf-8" (note the presence of a charset directive) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4522 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix CGI extensions when they expect string but get nil in Windows. Closes ↵Marcel Molina2006-06-281-1/+1
| | | | | | #5276 [mislav@nippur.irb.hr] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cope with missing content type and length headers. Parse parameters from ↵Jeremy Kemper2006-06-011-21/+42
| | | | | | multipart and urlencoded request bodies only. Accept multipart PUT parameters. Closes #5235. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Strip out trailing &_= for raw post bodies #2868Sam Stephenson2005-11-211-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use chop! instead of chop! for efficiencyJamis Buck2005-09-021-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2109 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Drop trailing \000 if present on RAW_POST_DATA (works around bug in Safari ↵Jamis Buck2005-09-021-1/+3
| | | | | | Ajax implementation) #918 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix that env_qs might be nilDavid Heinemeier Hansson2005-07-231-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1907 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix that env_qs might be nilDavid Heinemeier Hansson2005-07-231-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1906 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Improved performance with 5-30% through a series of Action Pack ↵David Heinemeier Hansson2005-07-231-20/+31
| | | | | | optimizations #1811 [Stefan Kaes] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1905 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added support for upload progress indicators in Apache and lighttpd 1.4.x ↵David Heinemeier Hansson2005-06-281-6/+22
| | | | | | (won't work in WEBrick or lighttpd 1.3.x) #1475 [Sean Treadway] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make sure the benchmarking render method always returns the result of the ↵Jamis Buck2005-05-301-1/+3
| | | | | | render, regardless of whether logging is enabled or not. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1371 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Treat all request types as upper-case so the switch will workDavid Heinemeier Hansson2005-05-041-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1283 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Made it default to assuming a GET request and reading from command-line only ↵David Heinemeier Hansson2005-05-041-4/+4
| | | | | | in case of the new CMD method git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1282 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added graceful handling of PUT, DELETE, and OPTIONS requests for a complete ↵David Heinemeier Hansson2005-04-181-7/+3
| | | | | | coverage of REST functionality #1136 [joshknowles@gmail.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that an exception would be thrown when an empty form was submitted ↵David Heinemeier Hansson2005-04-131-1/+1
| | | | | | #1090 [jan@ulbrich-boerwang.de] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that on very rare occasions, webrick would raise a NoMethodError: ↵David Heinemeier Hansson2005-03-311-1/+1
| | | | | | private method 'split' called for nil #1001 [Flurin Egger] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1045 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed "bad environment variable value" exception caused by Safari, Apache, ↵David Heinemeier Hansson2005-03-271-1/+1
| | | | | | and Ajax calls #918 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that query params could be forced to nil on a POST due to the raw post ↵David Heinemeier Hansson2005-02-071-4/+4
| | | | | | fix #562 [moriq@moriq.com] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@526 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added @request.raw_post as a convenience access to ↵David Heinemeier Hansson2005-01-251-3/+5
| | | | | | @request.env['RAW_POST_DATA'] and fixed the patch problems with the session #534 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@502 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed no-binding fragment cachingDavid Heinemeier Hansson2005-01-201-4/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@473 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A few missing filesDavid Heinemeier Hansson2005-01-201-0/+44
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@468 5ecf4fe2-1ee6-0310-87b1-e25e094e27de