Check filename early
The check works on the relative file name, so move the check before calling join() to build the complete path name.
Loading
Please register or sign in to comment
The check works on the relative file name, so move the check before calling join() to build the complete path name.