Commit adb02d2f by devttys0

Fixed code comment

parent 97a5954b
...@@ -990,7 +990,7 @@ class Extractor(Module): ...@@ -990,7 +990,7 @@ class Extractor(Module):
if type(file_list) is not list: if type(file_list) is not list:
file_list = [file_list] file_list = [file_list]
# Sanitize any files in the list that are symlinks outside of the self.directory extraction directory. # Sanitize any files in the list that are symlinks outside of the specified extraction directory.
for file_name in file_list: for file_name in file_list:
if os.path.islink(file_name): if os.path.islink(file_name):
linktarget = os.path.realpath(file_name) linktarget = os.path.realpath(file_name)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment