the exception will be thrown with those headers :
Forwarded: for="10.10.10.10:13002"
X-Forwarded-For: 10.10.10.10, 141.0.14.114
Posts made by barbudreadmon
-
RE: Conflicting headersOpera Mini
-
RE: Conflicting headersOpera Mini
My websites, which are symfony 2.8 based, will throw me a Symfony\Component\HttpFoundation\Exception\ConflictingHeadersException , which result in a 400 (bad request) response
-
Conflicting headersOpera Mini
I noticed that, when using opera mini to access a website, both "X-Forwarded-For" and "Forwarded" are sent, i assume you use a proxy to speedup websites, but to my knowledge, if a proxy natively uses the X-Forwarded-For header, it should not allow clients to send Forwarded headers (see http://symfony.com/doc/2.8/components/http_foundation/trusting_proxies.html).
Any application using Symfony framework (which means a lot) won't allow it, except if you ignore those headers (which seems bad). Is this behavior something you wanted (in which case, why ?), or some proxy misconfiguration ?