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
Unable to edit weathermap if the file name has a space in it. This weathermap was cloned from another weathermap.
Issue with new weathermap: Management - POP.conf
The configuration file is created with the space
Unable to edit the configuration file, even when clone and existing weathermap
You are able to view the weathermap text configuration file by clicking on the binoculars icon
It does generate a thumbnail of the weathermap.
You just can't edit it, it opens up a blank editor screen
Suggested fix for this would be to
-validate map configuration file name to only be a-z, A-Z -_ in the filename
-automatically add the .conf file extensions, also validate that you don't end up with map.conf.conf configuration filename
root@cacti:/home/netadmin/cacti/plugins/weathermap/configs# ls -al
total 76
drwxr-xr-x 2 www-data www-data 4096 Nov 18 00:35 .
drwxr-xr-x 12 www-data www-data 4096 Nov 8 14:20 ..
-rw-r--r-- 1 www-data www-data 765 Nov 18 00:19 ATL1.conf
-rw-r--r-- 1 www-data www-data 13533 Nov 11 02:41 CHI1.conf
-rw-r--r-- 1 www-data www-data 33 Nov 8 13:47 .htaccess
-rw-r--r-- 1 www-data www-data 39 Nov 8 13:47 index.php
-rw-r--r-- 1 www-data www-data 18992 Nov 12 03:45 managementchi1chi2.conf
-rw-r--r-- 1 www-data www-data 18987 Nov 18 00:23 'Management - POP.conf'
netadmin@cacti:/var/www/html/cacti$ git status
On branch develop
Your branch is up to date with 'origin/develop'.
nothing to commit, working tree clean
netadmin@cacti:/var/www/html/cacti$ git log -1
commit b94bf9c3aae514b471a5f56b4eb835366c034d5a (HEAD -> develop, origin/develop, origin/HEAD)
Author: TheWitness <[email protected]>
Date: Mon Nov 11 11:23:23 2024 -0500
QA: Fix issue with CSRF failing on no method passed
netadmin@cacti:/var/www/html/cacti$
Unable to edit weathermap if the file name has a space in it. This weathermap was cloned from another weathermap.
Issue with new weathermap: Management - POP.conf
Suggested fix for this would be to
-validate map configuration file name to only be a-z, A-Z -_ in the filename
-automatically add the .conf file extensions, also validate that you don't end up with map.conf.conf configuration filename
====================
Test case on new map
created: test space.conf
File: test space.conf was created and listed in weathermap
When editing this new file it was opened as "testspace.conf" not "test space.conf"
The text was updated successfully, but these errors were encountered: