nextcloud / nextcloud/server

[BUG] Access WebDAV files from "https://www.office.com/?auth=1" failed

Open
#47,469 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 27-feedback bug feature: authentication feature: dav needs review
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

When trying to access WebDAV files to open in Office 365 using Edge browser on Windows 11 it fails with error message:

{"error":"Strict Cookie has not been found in request"}

I am signed in with my Hotmail account in Office Apps in windows and signed in to the same account on Office.com.

This error shows up by clicking items listed in "Recently opened" under Quick Access on homepage of Office.com as below screenshot:

image

The file I'm trying to open:
https://EXAMPLE.REDACTED.com/remote.php/dav/files/REDATCED/Documents/Finance/Master%20Account%20Information.xlsx?login_hint=REDACTED%40hotmail.com&ct=REDACTED&wdOrigin=OFFICECOM-WEB.MAIN.EDGEWORTH&wdPreviousSessionSrc=HarmonyWeb&wdPreviousSession=REDACTED

This occurs to all links pointing to nextcloud webdav in recently opened list.

I am able to open Excel natively in Windows via app, and navigate to mounted WebDAV folder and it opens OK.
Just not within the web browser with Office 365.

I am also able to open other onedrive publicly shared excel files in Office 365 (e.g. VIC_Energy_Tables).

I am not sure where this bug/issue should be raised, as I couldn't find the generic "files" issues page.

Nextcloud AIO Version: 7.5.1
Nextcloud Version: 27.1.3.2
PHP Version: 8.1.24
Windows 11
MS Edge 118.0.2088.69

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names no source file or test. Start by reproducing the Office.com Recently opened flow with the supplied WebDAV URL and inspect the request that returns “Strict Cookie has not been found in request”; done means determining whether the failure is in Nextcloud’s WebDAV handling or the external Office.com integration and documenting a verified resolution path.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.