32 writes to ForwardedHeaders
HttpOverridesSample (1)
Startup.cs (1)
15
ForwardedHeaders
= ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto
Microsoft.AspNetCore (1)
ForwardedHeadersOptionsSetup.cs (1)
27
options.
ForwardedHeaders
= ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto;
Microsoft.AspNetCore.HttpOverrides.Tests (29)
ForwardedHeadersMiddlewareTest.cs (29)
29
ForwardedHeaders
= ForwardedHeaders.XForwardedFor
64
ForwardedHeaders
= ForwardedHeaders.XForwardedFor,
118
ForwardedHeaders
= ForwardedHeaders.XForwardedFor,
161
ForwardedHeaders
= ForwardedHeaders.XForwardedFor,
227
ForwardedHeaders
= ForwardedHeaders.XForwardedFor,
266
ForwardedHeaders
= ForwardedHeaders.XForwardedFor
295
ForwardedHeaders
= ForwardedHeaders.XForwardedHost
361
ForwardedHeaders
= ForwardedHeaders.XForwardedHost
446
ForwardedHeaders
= ForwardedHeaders.XForwardedHost
496
ForwardedHeaders
= ForwardedHeaders.XForwardedHost,
547
ForwardedHeaders
= ForwardedHeaders.XForwardedHost,
582
ForwardedHeaders
= ForwardedHeaders.XForwardedHost,
624
ForwardedHeaders
= ForwardedHeaders.XForwardedProto,
673
ForwardedHeaders
= ForwardedHeaders.XForwardedProto
730
ForwardedHeaders
= ForwardedHeaders.XForwardedProto,
772
ForwardedHeaders
= ForwardedHeaders.XForwardedProto | ForwardedHeaders.XForwardedFor,
814
ForwardedHeaders
= ForwardedHeaders.XForwardedProto | ForwardedHeaders.XForwardedFor,
858
ForwardedHeaders
= ForwardedHeaders.XForwardedProto | ForwardedHeaders.XForwardedFor,
907
ForwardedHeaders
= ForwardedHeaders.All
942
ForwardedHeaders
= ForwardedHeaders.None
977
ForwardedHeaders
= ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto
1008
ForwardedHeaders
= ForwardedHeaders.XForwardedFor,
1062
options.
ForwardedHeaders
= ForwardedHeaders.XForwardedProto;
1102
ForwardedHeaders
= ForwardedHeaders.XForwardedProto,
1146
ForwardedHeaders
= ForwardedHeaders.XForwardedPrefix,
1188
ForwardedHeaders
= ForwardedHeaders.XForwardedPrefix,
1224
ForwardedHeaders
= ForwardedHeaders.XForwardedPrefix,
1263
ForwardedHeaders
=
1313
ForwardedHeaders
= ForwardedHeaders.XForwardedPrefix,
Microsoft.AspNetCore.Server.IISIntegration (1)
WebHostBuilderIISExtensions.cs (1)
94
options.
ForwardedHeaders
= ForwardedHeaders.XForwardedFor | ForwardedHeaders.XForwardedProto;
5 references to ForwardedHeaders
Microsoft.AspNetCore.HttpOverrides (4)
ForwardedHeadersMiddleware.cs (4)
129
if (_options.
ForwardedHeaders
.HasFlag(ForwardedHeaders.XForwardedFor))
136
if (_options.
ForwardedHeaders
.HasFlag(ForwardedHeaders.XForwardedProto))
148
if (_options.
ForwardedHeaders
.HasFlag(ForwardedHeaders.XForwardedHost))
162
if (_options.
ForwardedHeaders
.HasFlag(ForwardedHeaders.XForwardedPrefix))
Microsoft.AspNetCore.HttpOverrides.Tests (1)
ForwardedHeadersMiddlewareTest.cs (1)
889
Assert.True(options.
ForwardedHeaders
== ForwardedHeaders.None);