nextcloud-server/lib/private/AppFramework
Ferdinand Thiessen 7620d230df
fix(Request): Catch exceptions in `isTrustedProxy`
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 <opensource@fthiessen.de>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-27 14:59:51 +07:00
..
Bootstrap chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
DependencyInjection Remove deprecated methods Util::writeLog and DIContainer::log 2023-09-25 10:37:12 +07:00
Http fix(Request): Catch exceptions in `isTrustedProxy` 2024-01-27 14:59:51 +07:00
Middleware techdebt(Middleware): Add more specific array types so its clickable in IDEs 2023-11-30 12:27:08 +07:00
OCS chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Routing composer run cs:fix 2023-01-20 11:45:08 +07:00
Services composer run cs:fix 2023-01-20 11:45:08 +07:00
Utility enh(dispatcher): enforce psalm ranges in the http dispatcher 2023-11-24 12:46:38 +07:00
App.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00
Http.php Update php licenses 2021-06-04 22:02:41 +07:00
Logger.php composer run cs:fix 2023-01-20 11:45:08 +07:00
ScopedPsrLogger.php chore: apply changes from Nextcloud coding standards 1.1.1 2023-11-23 10:36:13 +07:00