mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixed that on very rare occasions, webrick would raise a NoMethodError: 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
This commit is contained in:
parent
0de97c81db
commit
93e361e58a
2 changed files with 6 additions and 5 deletions
|
@ -1,10 +1,11 @@
|
||||||
*SVN*
|
*SVN*
|
||||||
|
|
||||||
* Added Effect.Squish for scaling down an element and making it disappear at the end #972 [thomas@fesch.at]
|
* Fixed that on very rare occasions, webrick would raise a NoMethodError: private method 'split' called for nil #1001 [Flurin Egger]
|
||||||
|
|
||||||
* Added Effect.Scale for smoothly scaling images or text up and down #972 [thomas@fesch.at]
|
* Added a wide range of new Javascript effects:
|
||||||
|
* Effect.Squish for scaling down an element and making it disappear at the end #972 [thomas@fesch.at]
|
||||||
* Added Effect.Fade which smoothly turns opacity from 100 to 0 and then hides the element #960 [thomas@fesch.at]
|
* Effect.Scale for smoothly scaling images or text up and down #972 [thomas@fesch.at]
|
||||||
|
* Effect.Fade which smoothly turns opacity from 100 to 0 and then hides the element #960 [thomas@fesch.at]
|
||||||
|
|
||||||
* Fixed problem with page caching #958 [Rick Olson]
|
* Fixed problem with page caching #958 [Rick Olson]
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ class CGI #:nodoc:
|
||||||
when 'POST'
|
when 'POST'
|
||||||
stdinput.binmode if stdinput.respond_to?(:binmode)
|
stdinput.binmode if stdinput.respond_to?(:binmode)
|
||||||
content = stdinput.read(Integer(env_table['CONTENT_LENGTH'])) || ''
|
content = stdinput.read(Integer(env_table['CONTENT_LENGTH'])) || ''
|
||||||
env_table['RAW_POST_DATA'] = content.split("&_").first.freeze # &_ is a fix for Safari Ajax postings that always append \000
|
env_table['RAW_POST_DATA'] = content.split("&_").first.to_s.freeze # &_ is a fix for Safari Ajax postings that always append \000
|
||||||
else
|
else
|
||||||
read_from_cmdline
|
read_from_cmdline
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue