Skip to content

Commit f825fa9

Browse files
committed
Merge commit 'dfb3959ef8844eacb8580b87463e3b1dfca4528d'
2 parents b9e4bd6 + dfb3959 commit f825fa9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/UmbracoFileSystemProviders.Azure/AzureFileSystem.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,12 @@ private string FixPath(string path)
714714
path = path.Substring(appVirtualPath.Length);
715715
}
716716

717+
// Strip ~ before any others
718+
if (path.StartsWith("~", StringComparison.InvariantCultureIgnoreCase))
719+
{
720+
path = path.Substring(1);
721+
}
722+
717723
if (path.StartsWith(Delimiter))
718724
{
719725
path = path.Substring(1);

0 commit comments

Comments
 (0)