Fullscreenmap blank when a device name has " ' " in it

Hi there, here is the output of my ./validate.php

Component Version
LibreNMS 24.7.0 (2024-07-17T08:35:08+02:00)
DB Schema 2024_07_13_133839_modify_ent_physical_defaults (295)
PHP 8.1.13
Python 3.6.9
Database MariaDB 10.5.15-MariaDB-1:10.5.15+maria~bionic
RRDTool 1.7.0
SNMP 5.7.3
===========================================

[OK] Composer Version: 2.7.7
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database Schema is current
[OK] SQL Server meets minimum requirements
[OK] lower_case_table_names is enabled
[OK] MySQL engine is optimal
[OK] Database and column collations are correct
[OK] Database schema correct
[OK] MySQL and PHP time match
[OK] Active pollers found
[OK] Dispatcher Service not detected
[OK] Locks are functional
[OK] Python poller wrapper is polling
[OK] Redis is unavailable
[OK] rrdtool version ok
[OK] Connected to rrdcached

My fullscreenmap was not working for some time and yesterday I took a look to try to find what the deal is, I found in my browsers console some erros about a reference that was misleading at fist but when I looked at the line generating the error in the rendered html I found that some devices had a " ’ " character that breaks the js, as a quick workaround I changed the hostnames removing the culprit character and that fixed fullscreenmap.

I thought that sharing this may help some poeple facing the same problem

BR

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.