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.
1 parent da04180 commit 6890782Copy full SHA for 6890782
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