﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1966	Add viewable extensions to File Browser	Said Bakr		"In \connectors\php\config.php when trying to add denied extenstions to any of File, Image, Flash or media it seems to do nothing and the file browser show all files in the directory.

{{{
$Config['AllowedExtensions']['Image']	= array('bmp','gif','jpeg','jpg','png') ;
$Config['DeniedExtensions']['Image']	= array('php','txt') ;

Look at the attached image
}}}
For this example the file browser still show php files in image directory in addition of any other file founded in the image directory.

The server is Apache and working on Windows XP SP2, in other word I use XAMPP 161.

I think this bug due to the way of dealing with the ['FileTypesAbsolutePath'] and windows.

{{{
$Config['FileTypesAbsolutePath']['Image']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'image/';
}}}

In windows the absolute path does not represented as, for example, C:/server/site/ , but it should represented as C:\server\site\

"	New Feature	confirmed	Normal		File Browser				
