Reports whether PORTAL_TRUST_PROXY was set to something the parser refused.
Rejection is deliberately indistinguishable from "unset" at runtime, both
being "trust nothing". That is safe but silent: the operator believes the
portal reads X-Forwarded-For while every caller in fact shares one
rate-limit bucket. Callers use this to say so out loud at boot.
The verdict is re-derived from the environment rather than taken from a
resolved runtime, so it cannot disagree with itself.
Returns boolean
True when a value was supplied but none of it could be honoured.
Reports whether
PORTAL_TRUST_PROXYwas set to something the parser refused.Rejection is deliberately indistinguishable from "unset" at runtime, both being "trust nothing". That is safe but silent: the operator believes the portal reads
X-Forwarded-Forwhile every caller in fact shares one rate-limit bucket. Callers use this to say so out loud at boot.The verdict is re-derived from the environment rather than taken from a resolved runtime, so it cannot disagree with itself.