mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-12 11:50:46 +00:00
#3120: prevent webcalendar to reveal endpoint nature
This commit is contained in:
1 parent
15101a7e78
commit
8cb9d7b79c
2 files changed
+15
-10
No files matched your search
@@ -182,7 +182,10 @@ size_t curl_body_function(void *ptr, size_t size, size_t nmemb, void *buffer)
|
||||
forKey: @"imported"];
|
||||
}
|
||||
else
|
||||
[result setObject: @"invalid-calendar-content" forKey: @"error"];
|
||||
{
|
||||
[self errorWithFormat: @"Invalid calendar content from web calendar %@", location];
|
||||
[result setObject: @"invalid-calendar-content" forKey: @"error"];
|
||||
}
|
||||
}
|
||||
else if (status == 401)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user