Patched by using specified print messages
Patched by getting canonical name of file before validation
Patched by introducing a NFKC Normalizer
Patched by using a set regex, and not inserting user text into it
Vulnerable!!!
Patched by HTML encoding all characters before outputting email to html file
WHITELISTED_PATH should be changed to whatever path the user is accessing during running for data file (e.g. Email_addresses_20210205.txt) (Max)
Patched by requiring cannonical pathname to be in the assets folder of the project directory
Patched by checking file size up to 1MB, after filename sanitization, before BufferedReader initialization
Patched with regex validation
Patched with regex validation
Patched with regex validation
Patched with regex validation
Patched with regex to check filename validity
Patched by using try-with-resources instead of try-catch-finally