Bug #2522

Fix rackinput check when uploading files from passenger

Added by Daniel Molina over 6 years ago. Updated about 6 years ago.

Status:ClosedStart date:11/29/2013
Priority:NormalDue date:
Assignee:Daniel Molina% Done:

100%

Category:Sunstone
Target version:Release 4.6
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.4

Description

Patch provided in the following thread:
Sunstone image upload not working - images not in tmpdir

Could you try changing this line:
elsif (rackinput.class == StringIO || rackinput.class == PhusionPassenger::Utils::RewindableInput)

to
elsif rackinput.respond_to?('read')

Associated revisions

Revision fb58250c
Added by Daniel Molina about 6 years ago

bug #2522: Fix rackinput check when uploading files from passenger

History

#1 Updated by Ruben S. Montero over 6 years ago

  • Priority changed from High to Normal

#2 Updated by Daniel Molina about 6 years ago

  • Assignee set to Daniel Molina

#3 Updated by Daniel Molina about 6 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
  • Resolution set to fixed

Also available in: Atom PDF