do not call clean_up_path() over the entire data input method 'input string' or bad things can happen

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/trunk/cacti@1423 860744bd-22fc-0310-8c96-e9fe5004b5ca
This commit is contained in:
Ian Berry committed 2003-12-17 21:21:12 +00:00
1 parent 3ba36b028e
commit 9da0783689
1 file changed
+1 -1
+1 -1
View File
@@ -327,7 +327,7 @@ function get_full_script_path($local_data_id) {
in the input string so we don't mess up the script */
$full_path = preg_replace("/(<[A-Za-z0-9_]+>)+/", "", $full_path);
return clean_up_path($full_path);
return $full_path;
}
/* get_data_source_name - gets the name of a data source item or generates a new one if one does not