FileField automatically renames the file to a name without extension. You should manually rename the file with the appropriate extension. Using the extension form the original filename from the browser is unsafe and should be avoided.
On Apr 25, 12:56 pm, symfonyMan <ezziani.cha...@gmail.com> wrote: > Hello, > > I tried this but, it don't work as i want > > http://pastebin.com/mz8Ryvir > > the image file is stored in web server with the temp name and no extension > ... > > Thanks -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en