[#14730] setDefault() does not work on Horde_Form_Type_file
Summary setDefault() does not work on Horde_Form_Type_file
Queue Horde Framework Packages
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester birnbacs@gmail.com
Created 2017-11-09 (593 days ago)
Due
Updated 2017-11-10 (592 days ago)
Assigned
Resolved 2017-11-10 (592 days ago)
Milestone
Patch No

Comments
birnbacs@gmail.com 2017-11-09 09:35:08
setDefault() does not work on Horde_Form_Type_file.

The "default" property can be retrieved with getDefault() but is is 
empty no matter what was written into the property via setDefault() 
before

Jan Schneider <jan@horde.org> 2017-11-10 15:38:41
This is a security feature of browsers. Otherwise you would be able to 
automatically upload arbitrary files from the clients.