Skip to content

Commit

Permalink
feat: Support for .. in path
Browse files Browse the repository at this point in the history
  • Loading branch information
Milos Kozak committed Dec 27, 2024
1 parent 7f1a5dc commit e03e4d6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cloudpathlib/azure/azblobpath.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@ def container(self) -> str:

@property
def blob(self) -> str:
key = self._no_prefix_no_drive
key = (
Path(self._no_prefix_no_drive).resolve().as_posix()
if self._no_prefix_no_drive
else self._no_prefix_no_drive
)

# key should never have starting slash for
if key.startswith("/"):
Expand Down

0 comments on commit e03e4d6

Please sign in to comment.