id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
2176,php connector: apache_lookup_uri failure not handled,brondsem,,"In the php connector's io.php in Server_MapPath, apache_lookup_uri is used.  If it fails for some reason, a warning is displayed and a wrong value is returned.  This ends up with something like this:
{{{
<b>Warning</b>
:  apache_lookup_uri() [
<a href=""function.apache-lookup-uri"">function.apache-lookup-uri</a>
]: Unable to include '/../assets/pages/3076/Image/' - error finding URI in 
−
<b>
/home/myuser/web/mysite/common/fckeditor2.5.1/editor/filemanager/connectors/php/io.php
</b>
 on line 
<b>167</b>
<br/>
<Error number=""1"" text=""Error creating folder """" (Can't create  directory)""/>
}}}

I am using this workaround which seems to work well:
{{{
		$info = @apache_lookup_uri( $path ) ;
		if ($info != null)
			return $info->filename . $info->path_info ;
}}}
",Bug,confirmed,Normal,,Server : PHP,,,,
