File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/Components/Endpoints/src Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -175,11 +175,10 @@ await _renderer.InitializeStandardComponentServicesAsync(
175175 private async Task < RequestValidationState > ValidateRequestAsync ( HttpContext context , IAntiforgery ? antiforgery )
176176 {
177177 var processPost = HttpMethods . IsPost ( context . Request . Method ) &&
178- // Disable POST functionality during exception handling and reexecution .
178+ // Disable POST functionality during exception handling.
179179 // The exception handler middleware will not update the request method, and we don't
180180 // want to run the form handling logic against the error page.
181- context . Features . Get < IExceptionHandlerFeature > ( ) == null &&
182- context . Features . Get < IStatusCodePagesFeature > ( ) == null ;
181+ context . Features . Get < IExceptionHandlerFeature > ( ) == null ;
183182
184183 if ( processPost )
185184 {
You can’t perform that action at this time.
0 commit comments