You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
When search text includes # character, filtering does not always work as expected #4195
Cacti->Management->Devices search return blank description, ID & hostname if device name contain # character .
Using the Cacti version 1.2.17 (patched), with an updated monitor plugin 2.5 (development branch).
Broswer Crome incognito mode for testing.
This is a an extension to original bug #4192 that TheWitness has successfully patched yesterday..
changed the title [-]Cacti->Management->Devices search return blank description, ID & hostname if device name contain # character[/-][+]filter_value() function does not work as expected when search includes # character[/+]on Mar 23, 2021
My apologies, I have tested a patched lib/functions.php and still getting an identical behavior to reported, is there a way you can test it yourself for validation?
maybe because I pulled lib/functions.php into my 1.2.16 I do not to try to upgrade to development version.
If it works for you close it at this point..
Tried to upgrade to development version but installation has failed :( will wait until 1.2.17 officially released at this point
changed the title [-]filter_value() function does not work as expected when search includes # character[/-][+]When search text includes # character, filtering does not always work as expected[/+]on Apr 30, 2021
Activity
[-]Cacti->Management->Devices search return blank description, ID & hostname if device name contain # character[/-][+]filter_value() function does not work as expected when search includes # character[/+]Fixing Issue #4195 - filter_value() quoting
TheWitness commentedon Mar 23, 2021
The # character had a special use in the preg_match. All fixed up now.
ikorzha commentedon Mar 24, 2021
My apologies, I have tested a patched lib/functions.php and still getting an identical behavior to reported, is there a way you can test it yourself for validation?

TheWitness commentedon Mar 24, 2021
Works here:
ikorzha commentedon Mar 24, 2021
maybe because I pulled lib/functions.php into my 1.2.16 I do not to try to upgrade to development version.
If it works for you close it at this point..
Tried to upgrade to development version but installation has failed :( will wait until 1.2.17 officially released at this point
[-]filter_value() function does not work as expected when search includes # character[/-][+]When search text includes # character, filtering does not always work as expected[/+]