mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
Just send back the basename, rather than fancy attempts to strip the
leading calendar data. It must be in the current calendar anyway.
This commit is contained in:
parent
b6b519468d
commit
396103a5ab
@ -338,7 +338,7 @@ EOXML;
|
||||
}
|
||||
break;
|
||||
case 'DAV::HREF':
|
||||
$response['href'] = preg_replace( "#^.*/$this->user/$this->calendar/#", "", $v['value'] );
|
||||
$response['href'] = basename( $v['value'] );
|
||||
break;
|
||||
case 'DAV::GETETAG':
|
||||
$response['etag'] = preg_replace('/^"?([^"]+)"?/', '$1', $v['value']);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user