mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +01:00
"concat with query was not working if path ended in a slash"
This commit is contained in:
parent
396b1212ad
commit
f128866a37
@ -936,7 +936,7 @@ class egw_vfs extends vfs_stream_wrapper
|
||||
static function concat($url,$relative)
|
||||
{
|
||||
list($url,$query) = explode('?',$url,2);
|
||||
return substr($url,-1) == '/' ? $url.$relative : $url.'/'.$relative.($query ? '?'.$query : '');
|
||||
return (substr($url,-1) == '/' ? $url.$relative : $url.'/'.$relative).($query ? '?'.$query : '');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user