Skip to content

Commit 926e9ee

Browse files
committed
Use ConfigureAwait(false) for asynchronous call in SubresourceIntegrityTagHelper
1 parent b632b12 commit 926e9ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Sidio.Web.Security.AspNetCore/Html/SubresourceIntegrityTagHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public override async Task ProcessAsync(TagHelperContext context, TagHelperOutpu
8787
return;
8888
}
8989

90-
var integrityHash = await _subresourceIntegrityHashService.GetIntegrityHashFromUrlAsync(uri);
90+
var integrityHash = await _subresourceIntegrityHashService.GetIntegrityHashFromUrlAsync(uri).ConfigureAwait(false);
9191
if (!integrityHash.Success)
9292
{
9393
return;

0 commit comments

Comments
 (0)