File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Source/Applications/openHistorian/openHistorian Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1277,7 +1277,7 @@ public string SaveJSONFile(string targetFilePath, string json)
12771277
12781278 // Prevent file saves outside local file path
12791279 if ( ! targetFilePath . StartsWith ( localPath , StringComparison . OrdinalIgnoreCase ) )
1280- throw new SecurityException ( "Path access error: Cannot save JSON file outside local file path." ) ;
1280+ throw new SecurityException ( @ "Path access error: Cannot save JSON file outside Grafana\public file path.") ;
12811281
12821282 // Prevent saving data that is not valid JSON (helps prevent possible function abuse)
12831283 if ( ! IsValidJson ( json ) )
@@ -1329,4 +1329,4 @@ public bool IsValidJson(string input)
13291329
13301330 #endregion
13311331 }
1332- }
1332+ }
You can’t perform that action at this time.
0 commit comments