]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[BUG] stats: admin web interface must check the proxy state
authorCyril Bonté <cyril.bonte@free.fr>
Thu, 3 Mar 2011 20:05:17 +0000 (21:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 4 Mar 2011 09:01:40 +0000 (10:01 +0100)
commit1e2a170cf8da3a16a3fcab0742a2cf2a462b7aa8
treeb68af982f79da5b00470429e3659799c3091a06e
parent613f0df88b435f61c270bda71921f7c6aedae6dd
[BUG] stats: admin web interface must check the proxy state

Similar to the stats socket bug, we must check that the proxy is not disabled
before trying to enable/disable a server.

Even if a disabled proxy is not displayed, someone can inject a faulty proxy
name in the POST parameters. So, we must ensure that no disabled proxy can be
used.
src/proto_http.c