mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 09:22:26 +00:00
well-known: add second apple user agent
This commit is contained in:
@@ -60,7 +60,7 @@ pub fn make_app<AS: AddressbookStore, CS: CalendarStore, S: SubscriptionStore>(
|
|||||||
.route(
|
.route(
|
||||||
"/.well-known/caldav",
|
"/.well-known/caldav",
|
||||||
any(async |TypedHeader(ua): TypedHeader<UserAgent>| {
|
any(async |TypedHeader(ua): TypedHeader<UserAgent>| {
|
||||||
if ua.as_str().contains("remindd") {
|
if ua.as_str().contains("remindd") || ua.as_str().contains("dataaccessd") {
|
||||||
// remindd is an Apple Calendar User Agent
|
// remindd is an Apple Calendar User Agent
|
||||||
// Even when explicitly configuring a principal URL in Apple Calendar Apple
|
// Even when explicitly configuring a principal URL in Apple Calendar Apple
|
||||||
// will not respect that configuration but call /.well-known/caldav,
|
// will not respect that configuration but call /.well-known/caldav,
|
||||||
|
|||||||
Reference in New Issue
Block a user