Welcome Guest, Not a member yet? Register   Sign In
Bug in Upload.php
#1

[eluser]Unknown[/eluser]
In file system/libraries/Upload.php

On line: 1058 is a bug:
Code:
@exec('file --brief --mime-type ' . escapeshellarg($file['tmp_path']), $output, $return_code);

should by

Code:
@exec('file --brief --mime-type ' . escapeshellarg($file['tmp_name']), $output, $return_code);


Messages In This Thread
Bug in Upload.php - by El Forum - 03-12-2012, 11:20 AM
Bug in Upload.php - by El Forum - 03-12-2012, 12:03 PM



Theme © iAndrew 2016 - Forum software by © MyBB