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:
Andrew McMillan 2007-06-06 19:13:12 +12:00
parent b6b519468d
commit 396103a5ab

View File

@ -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']);