You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just to be clear, there's an issue here that when you look on the prov reports from a local Windows data registry, you get a / inserted between the root and the location of files, but it should be a \ - i.e. the separator is not platform-specific.
When generating a `full_uri` a `\` was used to join the storage_root and
the path.
```
if (self.storage_root.root.startswith('/') or
self.storage_root.root.startswith('file://')) and not
self.storage_root.root.endswith('/'):
return self.storage_root.root + '/' + self.path
return self.storage_root.root + self.path
```
This has been replaced with:
```
relative_path = self.path.lstrip("/").lstrip("\\")
return os.path.join(self.storage_root.root, relative_path)
```
Adding a forward slash in provenance reports when combining root and location.
The text was updated successfully, but these errors were encountered: