Skip to content

Commit

Permalink
Merge branch 'gh-183' into milestone/2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
akenion committed Dec 7, 2023
2 parents 440ca8e + 921d048 commit 4bc6712
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wordfence/scanning/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def locate(self):
log.log(VERBOSE, f'File added to scan queue: {path}')
self.queue.put(path)
else:
if not self._is_loop(self.path):
if not (os.path.islink(self.path) and self._is_loop(self.path)):
self.queue.put(real_path)


Expand Down

0 comments on commit 4bc6712

Please sign in to comment.