parazeeknova / nyxtext

Audit required: External control of file name or path PTC-W6004
Security
Minor
3 months ago3 months old
External variable 'filepath' used in file path
53        return new_tab
54
55    def read_file_content(self, filepath):
56        with open(filepath, "r") as file:57            content = file.read()
58        return content