mirror of https://github.com/nextcloud/server.git
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>pull/42794/head
parent
65b8c8f9dd
commit
7620d230df
Loading…
Reference in New Issue