Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.13
-
None
-
None
Description
Current Situation
- The directory structure does not include the symbols like "/*<>?" and "." if specified at the last. When any folder is created with any of the above-mentioned symbols in the name of the folder then the JOC Cockpit should not accept it.
- When the symbols "<" and ">" are used JOC Cockpit throws java.nio.file.InvalidPathException: Illegal char <<> at index 11: /podiekopkd< error.
- When the "/" or "\" then the JOC Cockpit accepts it but creates the folder with the name before the "/" or "\".
- Also if the folder name has a "." at the end then the JOC Cockpit creates the folder and in the JOC Cockpit it is shown with "." but in the SCHEDULER_DATA/live directory it does not includes "." For example, if the folder name created is "abc." then in the /live directory it will be "abc" only but in JOC Cockpit it is shown as "abc."
Desired behavior
- The check should be applied at the time of folder creation only which will prevent the user from entering such symbols.