Skip to content

[stable35] feat(files): add davstorage_allow_local_address config option - #67044

Merged
szaimen merged 3 commits into
stable35from
backport/66940/stable35
Nov 27, 2026
Merged

szaimen merged 3 commits into
stable35from
backport/66940/stable35

Conversation

@backportbot

@backportbot backportbot Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Backport of #66940

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

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

@backportbot backportbot Bot added this to the Nextcloud 35.0.4 milestone Nov 26, 2026
@szaimen
szaimen force-pushed the backport/66940/stable35 branch from 89deac4 to eadda8f Compare November 26, 2026 13:39
@szaimen
szaimen marked this pull request as ready for review November 26, 2026 13:40
@szaimen
szaimen requested review from a team as code owners November 26, 2026 13:40
@szaimen
szaimen requested review from Altahrim, GhassenKefi, come-nc and pabzm and removed request for a team November 26, 2026 13:40

@szaimen szaimen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM but didnt test

@szaimen
szaimen force-pushed the backport/66940/stable35 branch from eadda8f to cb53463 Compare November 26, 2026 16:01
@szaimen
szaimen force-pushed the backport/66940/stable35 branch from cb53463 to 1d0a235 Compare November 27, 2026 10:14
@szaimen

szaimen commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

PHPunit fix is in #67072 and unrelated to this PR.

szaimen and others added 2 commits November 27, 2026 12:42
Setups that disable the global allow_local_remote_servers option, such
as Nextcloud AIO, can no longer reach WebDAV storages on the local
network (e.g. a NAS mounted as external storage) or federated share
servers on the LAN. Re-enabling the global option turns off the SSRF
protection for every outgoing request, so this adds a narrower opt-in
that only applies to WebDAV based storages and the requests a mounted
federated share makes.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Simon L. <szaimen@e.mail.de>
Dots are not valid in environment variable names, so the option could
not be set through an NC_ environment variable override, which
containerized setups like Nextcloud AIO rely on.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Simon L. <szaimen@e.mail.de>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@szaimen
szaimen force-pushed the backport/66940/stable35 branch from 1d0a235 to 33ad82e Compare November 27, 2026 11:42
@szaimen
szaimen enabled auto-merge November 27, 2026 11:42
@szaimen

szaimen commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Another CI fix: #67080

Assisted-by: ClaudeCode:claude-opus-5-5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
@szaimen
szaimen merged commit 5927d05 into stable35 Nov 27, 2026
177 checks passed
@szaimen
szaimen deleted the backport/66940/stable35 branch November 27, 2026 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants