54 references to Referer
CodeGenerator (1)
src\Servers\Kestrel\shared\KnownHeaders.cs (1)
164HeaderNames.Referer,
Microsoft.AspNetCore.HeaderParsing (1)
CommonHeaders.cs (1)
95public static HeaderSetup<Uri> Referer => new(HeaderNames.Referer, Parsers.UriParser.Instance, cacheable: true);
Microsoft.AspNetCore.HeaderParsing.Tests (1)
CommonHeadersTests.cs (1)
135Assert.Equal(HeaderNames.Referer, CommonHeaders.Referer.HeaderName);
Microsoft.AspNetCore.Http.Extensions (1)
RequestHeaders.cs (1)
346Headers.Set(HeaderNames.Referer, value == null ? null : UriHelper.Encode(value));
Microsoft.AspNetCore.Http.Features (2)
IHeaderDictionary.Keyed.cs (2)
185StringValues Referer { get => this[HeaderNames.Referer]; set => this[HeaderNames.Referer] = value; }
Microsoft.AspNetCore.HttpLogging (2)
W3CLoggerOptions.cs (1)
136clonedSet.Remove(HeaderNames.Referer);
W3CLoggingMiddleware.cs (1)
154if (request.Headers.TryGetValue(HeaderNames.Referer, out var referer))
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheEntryFormatter.cs (1)
452HeaderNames.Referer,
Microsoft.AspNetCore.Rewrite (2)
ApacheModRewrite\ServerVariables.cs (1)
32return new HeaderSegment(HeaderNames.Referer);
IISUrlRewrite\ServerVariables.cs (1)
49managedVariableThunk = () => new HeaderSegment(HeaderNames.Referer);
Microsoft.AspNetCore.Server.HttpSys (7)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1109if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase)) 1327if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase)) 1575if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase)) 1882if (string.Equals(key, HeaderNames.Referer, StringComparison.Ordinal)) 2331yield return HeaderNames.Referer; 2667yield return new KeyValuePair<string, StringValues>(HeaderNames.Referer, Referer); 2782HttpSysRequestHeader.Referer => HeaderNames.Referer,
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
RequestHeaderTests.cs (1)
320yield return (HttpSysRequestHeader.Referer, HeaderNames.Referer);
Microsoft.AspNetCore.Server.IIS (7)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1109if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase)) 1327if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase)) 1575if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase)) 1882if (string.Equals(key, HeaderNames.Referer, StringComparison.Ordinal)) 2331yield return HeaderNames.Referer; 2667yield return new KeyValuePair<string, StringValues>(HeaderNames.Referer, Referer); 2782HttpSysRequestHeader.Referer => HeaderNames.Referer,
Microsoft.AspNetCore.Server.Kestrel.Core (20)
Internal\Http\HttpHeaders.Generated.cs (20)
344HeaderNames.Referer, 2864if (ReferenceEquals(HeaderNames.Referer, key)) 2919if (HeaderNames.Referer.Equals(key, StringComparison.OrdinalIgnoreCase)) 3792if (ReferenceEquals(HeaderNames.Referer, key)) 3829if (HeaderNames.Referer.Equals(key, StringComparison.OrdinalIgnoreCase)) 4607if (ReferenceEquals(HeaderNames.Referer, key)) 4668if (HeaderNames.Referer.Equals(key, StringComparison.OrdinalIgnoreCase)) 5714if (ReferenceEquals(HeaderNames.Referer, key)) 5775if (HeaderNames.Referer.Equals(key, StringComparison.OrdinalIgnoreCase)) 7370array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.Referer, _headers._Referer); 7631nameStr = HeaderNames.Referer; 8074nameStr = HeaderNames.Referer; 8193nameStr = HeaderNames.Referer; 8594_current = new KeyValuePair<string, StringValues>(HeaderNames.Referer, _collection._headers._Referer); 10466if (!TryGetUnknown(HeaderNames.Referer, ref value)) 10475ValidateHeaderValueCharacters(HeaderNames.Referer, value, EncodingSelector); 10476SetValueUnknown(HeaderNames.Referer, value); 16613if (!TryGetUnknown(HeaderNames.Referer, ref value)) 16622ValidateHeaderValueCharacters(HeaderNames.Referer, value, EncodingSelector); 16623SetValueUnknown(HeaderNames.Referer, value);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\KnownHeaders.cs (1)
164HeaderNames.Referer,
Microsoft.AspNetCore.Shared.Tests (7)
src\Shared\HttpSys\RequestProcessing\RequestHeaders.Generated.cs (7)
1109if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase)) 1327if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase)) 1575if (string.Equals(key, HeaderNames.Referer, StringComparison.OrdinalIgnoreCase)) 1882if (string.Equals(key, HeaderNames.Referer, StringComparison.Ordinal)) 2331yield return HeaderNames.Referer; 2667yield return new KeyValuePair<string, StringValues>(HeaderNames.Referer, Referer); 2782HttpSysRequestHeader.Referer => HeaderNames.Referer,