We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a10062 commit 5518812Copy full SHA for 5518812
src/Components/Endpoints/src/RazorComponentEndpointInvoker.cs
@@ -180,8 +180,8 @@ private async Task<RequestValidationState> ValidateRequestAsync(HttpContext cont
180
// Disable POST functionality during exception handling and reexecution.
181
// The exception handler middleware will not update the request method, and we don't
182
// want to run the form handling logic against the error page.
183
- (context.Features.Get<IExceptionHandlerFeature>() == null ||
184
- context.Features.Get<IStatusCodePagesFeature>() == null);
+ context.Features.Get<IExceptionHandlerFeature>() == null &&
+ context.Features.Get<IStatusCodePagesFeature>() == null;
185
186
if (processPost)
187
{
0 commit comments