6.0.0-beta1
7/7/25

[#11443] File uploads and the Horde_Variables class
Summary File uploads and the Horde_Variables class
Queue Horde.org Servers
Queue Version Git
Type Bug
State Not A Bug
Priority 2. Medium
Owners
Requester geber (at) b1-systems (dot) de
Created 09/24/2012 (4669 days ago)
Due
Updated 10/10/2012 (4653 days ago)
Assigned 09/24/2012 (4669 days ago)
Resolved 10/10/2012 (4653 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/10/2012 06:16:34 AM Michael Slusarz State ⇒ Not A Bug
 
09/24/2012 01:38:17 PM Jan Schneider Comment #3
Taken from Michael Rubinsky
Priority ⇒ 2. Medium
Reply to this comment
$_FILES has never been part of $_REQUEST, so what does this have to do 
with Horde_Variables? And what with our Git server?
09/24/2012 01:37:55 PM Michael Rubinsky Comment #2
State ⇒ Feedback
Priority ⇒ 1. Low
Assigned to Michael Rubinsky
Reply to this comment
Are you sure you are using Git code?  This works fine for me here, and 
as far as I can tell, we use the $_FILES variable directly in 
Horde_Form.
09/24/2012 01:09:14 PM geber (at) b1-systems (dot) de Comment #1
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ File uploads and the Horde_Variables class
Queue ⇒ Horde.org Servers
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
There's an issue located within the "Horde_Variables" class located in 
"framework/Util/lib/Horde/Variables.php" making file uploads impossible.

The constructor makes use of PHP's reserved variable "$_REQUEST" to 
gather data transmitted via a form. This does exclude Files due to the 
fact that $_REQUEST does no longer hold those data (source: 
http://php.net/manual/en/reserved.variables.request.php)

As a result the form data object is incomplete and file uploads fail. 
I'm unfamiliar with the Horde_Variables class and so far have been 
unable to fix the bug on my own.

Maintainer "langralf" might be the guy to take a closer look at this problem.

cu
Roman

Saved Queries