mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-31 03:34:18 +00:00
fix issue #72 - 405 error when adding a new contact from Apple's Contacts
As can be seen from the reporter's debug output, the problem is that the POST goes to .../?add-member, whereas davical expects / works with / redirects to ?add_member (note the underscore). So we have davical treat ?add-member the same as ?add_member
This commit is contained in:
parent
38673060a1
commit
8e9eaa3410
@ -91,7 +91,7 @@ if ( ! ($request->IsPrincipal() || isset($request->collection) || $request->meth
|
|||||||
@ob_flush(); exit(0);
|
@ob_flush(); exit(0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
param_to_global('add_member','.*');
|
param_to_global('add_member', '.*', 'add-member');
|
||||||
$add_member = isset($add_member);
|
$add_member = isset($add_member);
|
||||||
|
|
||||||
switch ( $request->method ) {
|
switch ( $request->method ) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user