Skip to content

Commit 53fa622

Browse files
Fix #94
1 parent 45d071b commit 53fa622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ImageSharp.Web.Providers.Azure/Providers/AzureBlobStorageImageProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public async Task<IImageResolver> GetAsync(HttpContext context)
8989
// the same prefix are not mixed up.
9090
string path = context.Request.Path.Value.TrimStart(SlashChars);
9191
int index = path.IndexOfAny(SlashChars);
92-
string nameToMatch = index != -1 ? path.Substring(index) : path;
92+
string nameToMatch = index != -1 ? path.Substring(0, index) : path;
9393

9494
foreach (string key in this.containers.Keys)
9595
{

0 commit comments

Comments
 (0)