Author: ralfbecker
New Revision: 35624
URL: http://svn.stylite.de/viewvc/egroupware?rev=35624&view=rev
Log:
fixed not working mime parameter, if just a main type eg. “image” is given
Modified:
branches/1.8/phpgwapi/inc/class.egw_vfs.inc.php
Modified: branches/1.8/phpgwapi/inc/class.egw_vfs.inc.php
URL: http://svn.stylite.de/viewvc/egroupware/branches/1.8/phpgwapi/inc/class.egw_vfs.inc.php?rev=35624&r1=35623&r2=35624&view=diff
— branches/1.8/phpgwapi/inc/class.egw_vfs.inc.php (original)
+++ branches/1.8/phpgwapi/inc/class.egw_vfs.inc.php Mon Jul 4 20:55:42 2011
@@ -609,7 +609,7 @@
{
list($type,$subtype) = explode(’/’,$options[‘mime’]);
// no subtype (eg. ‘image’) --> check only the main type
-
if ($sub_type || substr($mime,0,strlen($type)+1) != $type.'/')
-
if ($sub_type || substr($stat['mime'],0,strlen($type)+1) != $type.'/') { return; // wrong mime-type }
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs