10 references to HttpCharacters
Microsoft.AspNetCore.Server.Kestrel.Core (10)
Internal\Http\Http1Connection.cs (1)
458if (HttpCharacters.ContainsInvalidAuthorityChar(target))
Internal\Http\HttpHeaders.cs (3)
293var invalid = requireAscii ? HttpCharacters.IndexOfInvalidFieldValueChar(headerCharacters) 294: HttpCharacters.IndexOfInvalidFieldValueCharExtended(headerCharacters); 304var invalid = HttpCharacters.IndexOfInvalidTokenChar(headerCharacters);
Internal\Http\HttpParser.cs (1)
557var invalidIndex = HttpCharacters.IndexOfInvalidTokenChar(span);
Internal\Http2\Http2Stream.cs (2)
14using HttpCharacters = Microsoft.AspNetCore.Http.HttpCharacters; 362if (HttpCharacters.IndexOfInvalidTokenChar(_methodText) >= 0)
Internal\Http3\Http3Stream.cs (2)
21using HttpCharacters = Microsoft.AspNetCore.Http.HttpCharacters; 1083if (HttpCharacters.IndexOfInvalidTokenChar(_methodText) >= 0)
Internal\Infrastructure\HttpUtilities.cs (1)
513var invalid = HttpCharacters.IndexOfInvalidHostChar(hostText);