forked from extern/egroupware
sim's patch #1096: webdav client class fix (small but essential)
This commit is contained in:
parent
9669f27a8c
commit
6395e2a6ab
@ -487,7 +487,7 @@
|
||||
$fixed_array[] = rawurlencode($name);
|
||||
}
|
||||
$fixed_path = implode('/', $fixed_array);
|
||||
if (empty($parsed_uri['scheme']))
|
||||
if (!empty($parsed_uri['scheme']))
|
||||
{
|
||||
$parsed_uri['path'] = $fixed_path;
|
||||
$newuri = $this->glue_url($parsed_uri);
|
||||
@ -524,7 +524,7 @@
|
||||
$fixed_array[] = rawurldecode($name);
|
||||
}
|
||||
$fixed_path = implode('/', $fixed_array);
|
||||
if (empty($parsed_uri['scheme']))
|
||||
if (!empty($parsed_uri['scheme']))
|
||||
{
|
||||
$parsed_uri['path'] = $fixed_path;
|
||||
$newuri = $this->glue_url($parsed_uri);
|
||||
|
Loading…
Reference in New Issue
Block a user