mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +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(
|
||||
"/.well-known/caldav",
|
||||
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
|
||||
// Even when explicitly configuring a principal URL in Apple Calendar Apple
|
||||
// will not respect that configuration but call /.well-known/caldav,
|
||||
|
||||
Reference in New Issue
Block a user