We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da04180 + 6890782 commit 753679cCopy full SHA for 753679c
bagit.py
@@ -932,8 +932,6 @@ def _path_is_dangerous(self, path):
932
return True
933
if os.path.expanduser(path) != path:
934
935
- if os.path.expandvars(path) != path:
936
- return True
937
real_path = os.path.realpath(os.path.join(self.path, path))
938
real_path = os.path.normpath(real_path)
939
bag_path = os.path.realpath(self.path)
0 commit comments