Hi Baptiste,
On Tue, Dec 25, 2012 at 07:25:33PM +0100, Baptiste wrote:
> Hi Willy,
>
> This leads to one remark: either accept-invalid-http-request is
> enabled or disabled...
> Could it be enabled by default and disabled in some cases (chosen by
> layer 7 ACL)?
> ie:
> option accept-invalid-http-request if { hdr_sub(User-Agent) MSIE }
>
> If you see what I mean...
> I guess you'll tell me this is not possible since the request check is
> done before the l7 ACLs are available, so this would not be doable. :)
It's nice when you're making requests and responses :-)
Also you'll note that the issue appears in the request even before the
headers.
Quite honnestly, there is no reason for MSIE to misbehave if the app
produces correct links, MSIE only repeats bad URLs. So setting the
option for the time it takes to fix the application is not stupid at
all, considering there is no way to know for sure how many browsers
or search engines are affected.
Regards,
Willy