Skip to content

fix(dav): AddExtraHeadersPlugin should not be handled on error#59344

Merged
susnux merged 1 commit intomasterfrom
fix/dav-plugin
Apr 13, 2026
Merged

fix(dav): AddExtraHeadersPlugin should not be handled on error#59344
susnux merged 1 commit intomasterfrom
fix/dav-plugin

Conversation

@susnux
Copy link
Copy Markdown
Contributor

@susnux susnux commented Mar 31, 2026

Summary

When a request failed (failed upload) the file is not created, thus this will spam the log with "cannot set extra headers" error. To reproduce use e.g. files_antivirus with eicar test files.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

When a request failed (failed upload) the file is not created,
thus this will spam the log with "cannot set extra headers" error.
To reproduce use e.g. files_antivirus with eicar test files.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux requested a review from a team as a code owner March 31, 2026 10:31
@susnux susnux requested review from Altahrim, ArtificialOwl, CarlSchwan and salmart-dev and removed request for a team March 31, 2026 10:31
@susnux susnux added bug 3. to review Waiting for reviews labels Mar 31, 2026
@susnux susnux added this to the Nextcloud 34 milestone Mar 31, 2026
@susnux
Copy link
Copy Markdown
Contributor Author

susnux commented Apr 9, 2026

/backport to stable33

@susnux susnux requested review from icewind1991 and removed request for ArtificialOwl April 9, 2026 10:05
Copy link
Copy Markdown
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐘

@susnux susnux enabled auto-merge April 13, 2026 09:41
@susnux susnux merged commit d28bfb4 into master Apr 13, 2026
220 of 230 checks passed
@susnux susnux deleted the fix/dav-plugin branch April 13, 2026 09:49
@backportbot
Copy link
Copy Markdown

backportbot Bot commented Apr 13, 2026

The backport to stable33 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable33
git pull origin stable33

# Create the new backport branch
git checkout -b backport/59344/stable33

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick f4151eb0

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/59344/stable33

Error: Failed to check for changes with origin/stable33: No changes found in backport branch


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@susnux
Copy link
Copy Markdown
Contributor Author

susnux commented Apr 13, 2026

Ah the feature is 34+

@nextcloud-bot nextcloud-bot mentioned this pull request Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants