GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
created by: @Josua2012 (josua)
assigned to: Jose A.
created at: 2012-01-12
original ticket: http://open.silverstripe.org/ticket/6834
After using '''move_uploaded_file''' (AssetAdmin.php Line:225) the '''is_uploaded_file''' function (Upload.php Line: 480) return '''false'''.
'''is_uploaded_file''' function should be used with the '''original path and name''' of the uploaded file to work properly.
Therefore, this check should be removed from the validate() function (Upload.php) and included in the doUpload($data, $form) function (AssetAdmin.php).
comment by: @Josua2012 (josua)
created at: 2012-01-13
I've seen the bug can be fixed using this patch:
but, why has not fixed in version 2.4.6 of SilverStripe?
comment by: @sminnee (sminnee)
created at: 2012-03-15
The bugfix has been applied to 3.0, not 2.4.
The SHAs are as follows:
2.4.6 is really only receiving security fixes at this stage; I'm not sure if we'd want to merge this one through.
move_uploaded_file is only called when actually saving an uploaded file now.