Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable28] fix(DB): Sanitize host parameter for postgres databases when IPv6 address is passed #44461

Merged
merged 1 commit into from Apr 17, 2024

Conversation

backportbot[bot]
Copy link

@backportbot backportbot bot commented Mar 25, 2024

Backport of #44394

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

Todo

  • Review and resolve any conflicts
  • 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 bug 3. to review Waiting for reviews labels Mar 25, 2024
@backportbot backportbot bot added this to the Nextcloud 28.0.4 milestone Mar 25, 2024
…ddress is passed

Doctrine is using `pg_connect` with the `host` parameter, this does not allow IPv6 addresses in URI notation.
So we need to extract the IP address and pass it directly

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux marked this pull request as ready for review March 25, 2024 22:55
@nickvergessen
Copy link
Member

❌ Block merges during freezes

has to wait until next week

@skjnldsv skjnldsv mentioned this pull request Mar 28, 2024
@Altahrim Altahrim mentioned this pull request Apr 17, 2024
5 tasks
@Altahrim Altahrim merged commit 88859aa into stable28 Apr 17, 2024
55 checks passed
@Altahrim Altahrim deleted the backport/44394/stable28 branch April 17, 2024 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants