Skip to content

Commit

Permalink
merging develop
Browse files Browse the repository at this point in the history
  • Loading branch information
lonnieezell committed Aug 15, 2016
2 parents d3c8964 + c37aa68 commit f70c2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/HTTP/Files/UploadedFile.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ public function getTempName(): string
*/
public function getRandomName(): string
{
return time().'_'.random_bytes(10).'.'.$this->$this->getExtension();
return time().'_'.bin2hex(random_bytes(10)).'.'.$this->getExtension();
}

//--------------------------------------------------------------------
Expand Down

0 comments on commit f70c2a4

Please sign in to comment.