Fix path substitution for file:// URIs (#1251)

Co-authored-by: Michael Mueller <michael.mueller@wsa.com>
This commit is contained in:
nfzd 2024-05-31 08:07:45 +02:00 committed by GitHub
parent 6ae74972a6
commit 7fcd315c4e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2815,7 +2815,7 @@ class StorageHelper(object):
:param str path: file path to check access to
:return: Return the string representation of the file as path if have access to it, else None
"""
path = self._canonize_url(path)
return self._driver.get_direct_access(path)
@classmethod