Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update apps/dav/lib/CalDAV/WebcalCaching/Connection.php
Signed-off-by: Richard Steinmetz <[email protected]>
  • Loading branch information
st3iny authored Aug 22, 2025
commit ee8c2deeeb28c5f7452087a559961a87f3c3b67b
2 changes: 1 addition & 1 deletion apps/dav/lib/CalDAV/WebcalCaching/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function queryWebcalFeed(array $subscription): ?string {

// calendar/#7234 - ICS feeds hosted on O365 can return HTTP 500 when the UA string isn't satisfactory..
$uaString = 'Nextcloud Webcal Service';
if (Connection::isO365Url($url)) {
if (parse_url($url, PHP_URL_HOST) === 'outlook.office365.com') {
// 2025/08/20 - the required format/values here are not documented; this string based on research
// from: https://github.com/bitfireAT/icsx5/discussions/654#discussioncomment-14158051
$uaString = 'Nextcloud (Linux) Chrome/66';
Expand Down