Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Jan 29, 2024

Backport of PR #42794

The function fails if the configured trusted proxies contain invalid characters and the underlying IpUtils will throw.
But as it is used by `getRemoteAddress` which is used by logging / templating, thrown errors are not reported but silently fail with error 500.

Co-authored-by: Ferdinand Thiessen <[email protected]>
Co-authored-by: Joas Schilling <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
@backportbot backportbot bot added bug 3. to review Waiting for reviews php Pull requests that update Php code labels Jan 29, 2024
@backportbot backportbot bot added this to the Nextcloud 28.0.2 milestone Jan 29, 2024
@susnux susnux merged commit 6bdee05 into stable28 Feb 1, 2024
@susnux susnux deleted the backport/42794/stable28 branch February 1, 2024 11:16
@skjnldsv skjnldsv mentioned this pull request Feb 14, 2024
8 tasks
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 php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants