Skip to content

[stable5.11] fix(dav): use the default webdav client instead of patching axios - #13476

Merged
kesselb merged 1 commit into
stable5.11from
backport/13474/stable5.11
Aug 12, 2026
Merged

[stable5.11] fix(dav): use the default webdav client instead of patching axios#13476
kesselb merged 1 commit into
stable5.11from
backport/13474/stable5.11

Conversation

@backportbot

@backportbot backportbot Bot commented Aug 12, 2026

Copy link
Copy Markdown

Backport of PR #13474

webdav 5 is built on fetch, but our client patched webdav's request hook
with axios, which stems from webdav 4. Every operation that reads a
response body then fails with "response.text is not a function", e.g.
adding a file from Files as an attachment or listing the user's
calendars.

Use the client from @nextcloud/files/dav, which patches webdav's fetch
hook and keeps the request token up to date.

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@backportbot
backportbot Bot requested a review from ChristophWurst as a code owner August 12, 2026 11:07
@backportbot
backportbot Bot requested a review from ChristophWurst August 12, 2026 11:07
@backportbot
backportbot Bot requested review from GretaD and kesselb as code owners August 12, 2026 11:07
@backportbot backportbot Bot added bug 3. to review AI assisted This PR contains AI-assisted commits labels Aug 12, 2026
@kesselb
kesselb merged commit bed0a2c into stable5.11 Aug 12, 2026
28 of 40 checks passed
@kesselb
kesselb deleted the backport/13474/stable5.11 branch August 12, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review AI assisted This PR contains AI-assisted commits bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant