Skip to content

Commit 18d145b

Browse files
committed
Fix tests
1 parent 6066e3a commit 18d145b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Components/Server/src/CircuitDisconnectMiddleware.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public async Task Invoke(HttpContext context)
5555
{
5656
try
5757
{
58-
if (!string.Equals(context.Request.ContentType, "application/x-www-form-urlencoded"))
58+
if (!context.Request.HasFormContentType)
5959
{
6060
return (false, null);
6161
}

0 commit comments

Comments
 (0)