You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Http/Http/src/Internal/DefaultHttpRequest.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ internal sealed class DefaultHttpRequest : HttpRequest
15
15
// Lambdas hoisted to static readonly fields to improve inlining https://github.com/dotnet/roslyn/issues/13624
16
16
privatestaticreadonlyFunc<IFeatureCollection,IHttpRequestFeature?>_nullRequestFeature= f =>null;
17
17
privatestaticreadonlyFunc<IFeatureCollection,IQueryFeature?>_newQueryFeature= f =>newQueryFeature(f);
18
-
privatestaticreadonlyFunc<DefaultHttpRequest,IFormFeature>_newFormFeature= r =>newFormFeature(r,r._context.FormOptions??FormOptions.Default);
18
+
privatestaticreadonlyFunc<DefaultHttpRequest,IFormFeature>_newFormFeature= r =>newFormFeature(r,r._context.FormOptions??FormOptions.Default,r._context.GetEndpoint());
19
19
privatestaticreadonlyFunc<IFeatureCollection,IRequestCookiesFeature>_newRequestCookiesFeature= f =>newRequestCookiesFeature(f);
20
20
privatestaticreadonlyFunc<IFeatureCollection,IRouteValuesFeature>_newRouteValuesFeature= f =>newRouteValuesFeature();
[LoggerMessage(13,LogLevel.Warning,"Unable to apply configured form options since the request form has already been read.",EventName="CannotApplyFormOptions")]
0 commit comments