Skip to content

Commit 12fd3f6

Browse files
committed
FIX: we fully trust the heasarc tar files
1 parent dcc4849 commit 12fd3f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astroquery/heasarc/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ def _download_heasarc(self, links, location='.'):
677677
if tarfile.is_tarfile(local_filepath):
678678
log.info(f'Untar {local_filepath} to {location} ...')
679679
tfile = tarfile.TarFile(local_filepath)
680-
tfile.extractall(path=location)
680+
tfile.extractall(path=location, filter="fully_trusted")
681681
tfile.close()
682682
os.remove(local_filepath)
683683
else:

0 commit comments

Comments
 (0)