Files
cacti/include
08d16f894a fix(ui): only add the theme search filter icon when the filter input is visible (#8583)
The theme main.js files appended a search icon after any #filter/#filterd/#rfilter
input whenever it existed in the DOM, even while it was hidden, leaving a stray
icon on the page. Gate the decoration on the input being :visible, and defer it
with setTimeout(0) so it runs after applySkin()/cactiReady() reveal #main and
#navigation_right. The :visible check then skips only intentionally hidden filters,
while ordinary filters -- including after AJAX refreshes -- still receive their
icon, placeholder and autocomplete settings.

Also make cacti_trusted_proxy_match() IP-family aware so an IPv4-mapped IPv6
address (::ffff:a.b.c.d) never matches a bare IPv4 proxy entry. Newer Symfony
IpUtils releases normalize the mapped form inside checkIp(), which broke the
native dependency test matrix; gating on IP family keeps the match deterministic.
A coverage case keeps lib/client_address.php at 100%.

Co-authored-by: TheWitness <copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-04 14:40:24 -05:00
..
2026-01-28 16:11:10 -05:00
2026-07-24 19:49:16 -04:00
2022-11-26 02:07:03 +00:00
2026-01-28 16:11:10 -05:00