Closed
Description
As @ygoe mentioned in dotnet/AspNetCore.Docs#2384 (comment), the behavior of .UseForwardedHeaders
without arguments is unexpected and counter-intuitive. Since I was just caught by this as well, I decided to open this issue. Would it be possible to either have .UseForwardedHeaders
default to ForwardedHeaders.All
or to remove the zero-argument overload of this method?
Thanks,
Kevin