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
Multibyte characters cannot be searched in "host.php" used for device search.
If use multibyte, it will be converted to hexadecimal and will not work properly.
To Reproduce
Use multibyte in the search field.
"ytksn" => "%uFF59%uFF54%uFF4B%uFF53%uFF4E"
URL will then like this=> "~~/cacti/host.php?host_status=-1&host_template_id=-1&site_id=-1&poller_id=-1&location=-1&rows=-1&filter=%uFF59%uFF54%uFF4B%uFF53%uFF4E&"
In this case, directly specifying a normal string in the "filter" field of the URL will work correctly. (~~&filter=ytksn)
Desktop (please complete the following information)
OS: CentOS 7.9
Apache/2.4.6
PHP 7.3.33
Cacti 1.2.19
MySQL Ver 14.14 Distrib 5.7.37
Set character: utf8mb4
Browser: Chrome
The text was updated successfully, but these errors were encountered:
This is very weird. I'm able to reproduce, but when I compare that page, after one change I made, to other pages, I can not see where it's breaking. Still researching.
Describe the bug
Multibyte characters cannot be searched in "host.php" used for device search.
If use multibyte, it will be converted to hexadecimal and will not work properly.
To Reproduce
Use multibyte in the search field.
"ytksn" => "%uFF59%uFF54%uFF4B%uFF53%uFF4E"
URL will then like this=> "~~/cacti/host.php?host_status=-1&host_template_id=-1&site_id=-1&poller_id=-1&location=-1&rows=-1&filter=%uFF59%uFF54%uFF4B%uFF53%uFF4E&"
In this case, directly specifying a normal string in the "filter" field of the URL will work correctly. (~~&filter=ytksn)
Desktop (please complete the following information)
OS: CentOS 7.9
Apache/2.4.6
PHP 7.3.33
Cacti 1.2.19
MySQL Ver 14.14 Distrib 5.7.37
Set character: utf8mb4
Browser: Chrome
The text was updated successfully, but these errors were encountered: