Skip to content

Commit ce89286

Browse files
authored
fix: fix carddav url handle (#2054)
1 parent 18a97d3 commit ce89286

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/Models/CardDAV/Backends/MonicaPrincipleBackend.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ public function findByUri($uri, $principalPrefix)
156156
*/
157157
public function getGroupMemberSet($principal)
158158
{
159-
debug('getGroupMemberSet');
159+
Log::debug(__CLASS__.' getGroupMemberSet', func_get_args());
160160

161161
return [
162162
'principals/'.Auth::user()->email,
@@ -171,7 +171,7 @@ public function getGroupMemberSet($principal)
171171
*/
172172
public function getGroupMembership($principal)
173173
{
174-
debug('getGroupMembership');
174+
Log::debug(__CLASS__.' getGroupMembership', func_get_args());
175175

176176
return [
177177
'principals/'.Auth::user()->email,
@@ -189,6 +189,6 @@ public function getGroupMembership($principal)
189189
*/
190190
public function setGroupMemberSet($principal, array $members)
191191
{
192-
dd('setGroupMemberSet');
192+
Log::debug(__CLASS__.' setGroupMemberSet', func_get_args());
193193
}
194194
}

public/.htaccess

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
# Redirect Trailing Slashes If Not A Folder...
1313
RewriteCond %{REQUEST_FILENAME} !-d
14+
RewriteCond %{REQUEST_FILENAME} !carddav/*
1415
RewriteCond %{REQUEST_URI} (.+)/$
1516
RewriteRule ^ %1 [L,R=301]
1617

0 commit comments

Comments
 (0)