Skip to content

fix(setup): de-duplicate host parsing allowing IPv6 connections - #62932

Merged
susnux merged 1 commit into
masterfrom
fix/setup-db-ipv6
Aug 8, 2026
Merged

fix(setup): de-duplicate host parsing allowing IPv6 connections#62932
susnux merged 1 commit into
masterfrom
fix/setup-db-ipv6

Conversation

@susnux

@susnux susnux commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

The de-duplicates the connection params parsing,
previously it used explode to get host + port but this fails for IPv6 like [::1]:80. But a proper parsing is already available in the ConnectionFactory, so adjusted the code to reuse that.

Checklist

AI (if applicable)

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

The de-duplicates the connection params parsing,
previously it used `explode` to get host + port but this fails for IPv6
like `[::1]:80`. But a proper parsing is already available
in the `ConnectionFactory`, so adjusted the code to reuse that.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux added this to the Nextcloud 35 milestone Aug 5, 2026
@susnux
susnux marked this pull request as ready for review August 5, 2026 10:54
@susnux
susnux requested a review from a team as a code owner August 5, 2026 10:54
@susnux
susnux requested review from Altahrim, CarlSchwan, come-nc, provokateurin and salmart-dev and removed request for a team and provokateurin August 5, 2026 10:54
@susnux
susnux merged commit 6361ddd into master Aug 8, 2026
256 of 261 checks passed
@susnux
susnux deleted the fix/setup-db-ipv6 branch August 8, 2026 12:16
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