﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1380	remove special characters in uploaded file URL	nicolefou@…		"Add the following line in the /filemanager/browser/default/connectors/php/commands.php file in order to replace all characters unreadable in an URL by an underscore (_)

In function FileUpload around line 143 after
{{{
// Get the uploaded file name.
$sFileName = $oFile['name'] ;
$sOriginalFileName = $sFileName ;
}}}
#### LINE TO ADD ####
{{{
$sFileName = eregi_replace(""[^a-z0-9.]"", ""_"", $sFileName);
}}}

Could be a lot improved because it only keep the
numerical and alphabetical characters and the point (for
file extension) but it was enough for my need ;-)

Cheers
Nicolas
----
Moved from [https://sourceforge.net/tracker/index.php?func=detail&aid=1209255&group_id=75348&atid=543655 SF]"	New Feature	closed	Normal		Server : PHP		duplicate	HasPatch	
