Private
Public Access
1
0

fix: pkg: the og tags did not have proper http schema - they should have https #4

This commit is contained in:
2026-04-15 14:33:53 +02:00
parent f442942faf
commit 8780800dff
6 changed files with 27 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ if ($debug) {
}
if ($trustedProxies = $_SERVER['TRUSTED_PROXIES'] ?? false) {
Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_ALL ^ Request::HEADER_X_FORWARDED_HOST);
Request::setTrustedProxies(explode(',', $trustedProxies), Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_HOST | Request::HEADER_X_FORWARDED_PROTO);
}
if ($trustedHosts = $_SERVER['TRUSTED_HOSTS'] ?? false) {