Skip to content
This repository was archived by the owner on Dec 18, 2018. It is now read-only.
This repository was archived by the owner on Dec 18, 2018. It is now read-only.

BadHttpRequestException: Invalid request target: '/?key=\xD6\xD0\xCE\xC4' #2647

@smokedog2

Description

@smokedog2

[09:10:02 INF] Connection id "0HLEAFUMLUVR5" bad request data: "Invalid request target: '/?key=\xD6\xD0\xCE\xC4'" Microsoft.AspNetCore.Server.Kestrel.Core.BadHttpRequestException: Invalid request target: '/?key=\xD6\xD0\xCE\xC4' at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Frame.ThrowRequestTargetRejected(Span1 target)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Frame.OnOriginFormTarget(HttpMethod method, HttpVersion version, Span1 target, Span1 path, Span1 query, Span1 customMethod, Boolean pathEncoded)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Frame.OnStartLine(HttpMethod method, HttpVersion version, Span1 target, Span1 path, Span1 query, Span1 customMethod, Boolean pathEncoded)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpParser1.ParseRequestLine(TRequestHandler handler, Byte* data, Int32 length) at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpParser1.ParseRequestLine(TRequestHandler handler, ReadableBuffer buffer, ReadCursor& consumed, ReadCursor& examined)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Frame.TakeStartLine(ReadableBuffer buffer, ReadCursor& consumed, ReadCursor& examined)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Frame.ParseRequest(ReadableBuffer buffer, ReadCursor& consumed, ReadCursor& examined)
at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.Frame1.<ProcessRequestsAsync>d__2.MoveNext()

An error occurred If the url contains Chinese in IE

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions