]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 5162: mgr:index URL do not produce MGR_INDEX template (#1191)
authorEduard Bagdasaryan <eduard.bagdasaryan@measurement-factory.com>
Thu, 1 Dec 2022 18:50:37 +0000 (18:50 +0000)
committerAmos Jeffries <yadij@users.noreply.github.com>
Wed, 7 Dec 2022 12:59:44 +0000 (01:59 +1300)
commit1f13f721263a4cc75e4b798a230022561047899c
tree6870e0c1fa4563268938c87b7b31ebf76d81919d
parent5bb2694408e7a42897e9efe775361579d8864de8
Bug 5162: mgr:index URL do not produce MGR_INDEX template (#1191)

Satisfy mgr:index requests using

* a 200 OK response with a body derived from the MGR_INDEX template (if
  that template file was found during (re)configuration) or
* a 404 (Not Found) error response (otherwise).

Broken in 2019 commit 7e6eabb, when Squid started replying using a 200
OK response with a hard-coded "mgr_index" text as a body, ignoring any
configured MGR_INDEX template.
src/errorpage.cc