Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 2379

Show
Ignore:
Timestamp:
09/27/05 23:39:56 (3 years ago)
Author:
ulysses
Message:

Undo condition change made in [2345] to prevent normal parameters arriving as StringIO.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/CHANGELOG

    r2375 r2379  
    11*SVN* 
     2 
     3* Undo condition change made in [2345] to prevent normal parameters arriving as StringIO. 
    24 
    35* Tolerate consecutive delimiters in query parameters.  #2295 [darashi@gmail.com] 
  • trunk/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb

    r2375 r2379  
    9292      if value.is_a?(String) 
    9393        value 
    94       elsif value.respond_to?(:content_type) 
     94      elsif value.respond_to?(:content_type) && ! value.content_type.blank? 
    9595        # Uploaded file 
    9696        unless value.respond_to?(:full_original_filename)