CodeIgniter Forums
Upload class security fix - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Upload class security fix (/showthread.php?tid=32226)



Upload class security fix - El Forum - 07-16-2010

[eluser]christophe2[/eluser]
Hello,

If I want to overrirde the filename using the new upload class (july, 12 2010 fix), now I must provide the full filemame including the extension. But what if I just want to change the name and keep the extension provided by the user ? Do I have to bypass the class and determine the extension from the usual $_FILES['userfile']['name'] parameter ?
Thanks for your help,
Christophe


Upload class security fix - El Forum - 08-10-2010

[eluser]nkm82[/eluser]
Same here. That feature is essentially broken since the last fix.

Thanks.