]> git.ipfire.org Git - thirdparty/squid.git/commit
Bug 5301: cachemgr.cgi not showing new manager interface URLs (#1479)
authorAmos Jeffries <yadij@users.noreply.github.com>
Tue, 19 Sep 2023 08:45:27 +0000 (08:45 +0000)
committerAmos Jeffries <yadij@users.noreply.github.com>
Fri, 22 Sep 2023 13:44:28 +0000 (01:44 +1200)
commitef875f2cb28b640faf153c4cc243e646310f7251
treeaaaddde7a375867ca6c6bd9fe29defc04c388faa
parent4187820e052524e86ac3b83b8b715780c30f39dd
Bug 5301: cachemgr.cgi not showing new manager interface URLs (#1479)

Also fix several related UI issues uncovered during testing:

* Prune the list of servers accessible via the CGI tool login.
 Their responses would be badly mangled if accessed via
 the old tools parse logic.
Also, hide the old login form if all servers use the new
manager interface.

* Ensure the 'menu' report is always used by default after
the CGI tool login. This prevents errors about MGR_INDEX
not being available on recent Squid releases. Restoring the
expected CGI tool behavior.
tools/cachemgr.cc