6.0.0-git
2019-04-21

[#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 2012-09-24 (2400 days ago)
Due
Updated 2012-10-10 (2384 days ago)
Assigned 2012-09-24 (2400 days ago)
Resolved 2012-10-10 (2384 days ago)
Milestone
Patch No

History
2012-10-10 06:16:34 Michael Slusarz State ⇒ Not A Bug
 
2012-09-24 13:38:17 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?
2012-09-24 13:37:55 Michael Rubinsky Comment #2
Assigned to Michael Rubinsky
State ⇒ Feedback
Priority ⇒ 1. Low
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.
2012-09-24 13:09:14 geber (at) b1-systems (dot) de Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Summary ⇒ File uploads and the Horde_Variables class
Queue ⇒ Horde.org Servers
Milestone ⇒
Patch ⇒ No
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