Skip to content

Commit

Permalink
jfBackup : skip invalid files
Browse files Browse the repository at this point in the history
  • Loading branch information
pquiring committed Dec 11, 2019
1 parent 5c7a227 commit 82ce412
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions projects/jfbackup/src/Client.java
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ private void listfolder() throws Exception {
if (name.contains("?")) continue;
if (name.contains("*")) continue;
if (name.contains(":")) continue;
if (name.contains("\r\n")) continue;
if (name.length() == 0) continue;
if (file.isDirectory()) {
list.append("\\");
Expand Down

0 comments on commit 82ce412

Please sign in to comment.