-
Type: Clean up
-
Status: Open
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: QualifiedToSchedule
-
Component/s: Code Refactoring (Global)
Lots of uses of new File() that can be a problem if receives from user input. We should factor most of these uses and use a helper that makes sure there's no dangerous input.
Tasks:
- identify the kinds of usage we have for new File()
- remove bad practices and factor common practices
- use a utility class instead of direct File creation (Mincong already has a helper that can be used as a starting point)