Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 6434ebba authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

remove invalid characters (such as / or \) from mod-filename (e.g. if VIN...

remove invalid characters (such as / or \) from mod-filename (e.g. if VIN contains illegal characters)
parent 1a879099
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ namespace TUGraz.VectoCore.OutputData.FileIO
modFileName = string.Format("{0}{1}", runName, Constants.FileExtensions.ModDataFile);
}
return Path.Combine(BasePath, modFileName);
return Path.Combine(BasePath, string.Concat(modFileName.Split(Path.GetInvalidFileNameChars())));
}
public void WriteModData(int jobRunId, string runName, string cycleName, string runSuffix, DataTable modData)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment