mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-31 18:46:02 +00:00
fix infinite loop when finding delegates (closes #48)
This commit is contained in:
parent
11c56c85b1
commit
e7c43a0689
@ -405,7 +405,7 @@ EOSQL;
|
||||
$this->collection->dav_name = $this->dav_name;
|
||||
$this->collection->dav_displayname = sprintf( '%s proxy %s', $matches[2], $matches[3] );
|
||||
$this->collection->exists = true;
|
||||
$this->collection->parent_container = $matches[1] . '/';
|
||||
$this->collection->parent_container = '/' . $matches[2] . '/';
|
||||
}
|
||||
else if ( preg_match( '#^(/[^/]+)/?$#', $this->dav_name, $matches)
|
||||
|| preg_match( '#^((/principals/[^/]+/)[^/]+)/?$#', $this->dav_name, $matches) ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user