]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: stats: properly check the path and not the whole URI
authorWilly Tarreau <w@1wt.eu>
Thu, 31 Oct 2019 14:50:28 +0000 (15:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 31 Oct 2019 14:52:14 +0000 (15:52 +0100)
commit1eb3b4828e1559cb4a46f2d528b898cf6eb9898f
tree259358c8b7a162bf136466f6ebd8d648ad9087ae
parentcab2295ae71150d6722505945463b3f1d4627e6e
BUG/MINOR: stats: properly check the path and not the whole URI

Since we now have full URIs with h2, stats may fail to work over H2
so we must carefully only check the path there if the stats URI was
passed with a path only. This way it remains possible to intercept
proxy requests to report stats on explicit domains but it continues
to work as expected on origin requests.

No backport needed.
src/http_ana.c