Skip to content
This repository was archived by the owner on Mar 19, 2019. It is now read-only.
This repository was archived by the owner on Mar 19, 2019. It is now read-only.

Do not un-escape forward slashes in the request path #146

Closed
@Tratcher

Description

@Tratcher

WebListener sits on Http.Sys and consumes it's CookedUri by default. Http.Sys defensively un-escapes %2F to a forward slash in violation of the spec. This breaks OData and other frameworks. HttpListener had an app.config setting (https://msdn.microsoft.com/en-us/library/ee624078%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396) where you could ask it to re-parse the path without un-escaping %2F. WebListener should have this behavior by default.

For aspnet/KestrelHttpServer#124 we need something similar, so let's put this in shared code.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions