Skip to content

Commit

Permalink
disallow files starting with . or # in container listings
Browse files Browse the repository at this point in the history
  • Loading branch information
jeff-zucker committed Feb 26, 2024
1 parent c59a860 commit 0ffa62f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion file/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ export class SolidRestFile {
for (var f in files) {
if(files[f].startsWith('.')) continue;
if(files[f].startsWith('#')) continue;
console.log(files[f]);
if(!pathname.endsWith('/')) pathname = pathname + "/";
newFiles.push(await this.getItemInfo(pathname + files[f]));
}
Expand Down

0 comments on commit 0ffa62f

Please sign in to comment.