aspnet / BasicMiddleware

[Archived] Basic middleware components for ASP.NET Core. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
169 stars 84 forks source link

New middleware for host filtering #312

Closed Tratcher closed 6 years ago

Tratcher commented 6 years ago

This takes the sample we provided for the 2.0 patch and makes it an official package. It also adds a similar host filtering feature to HttpOverrides for x-forwarded-host.

The only outstanding design point is providing a way to switch back and forth between a local server and a reverse proxy configuration. I'll followup on that as a separate work item as it requires coordinating across several components.

Tratcher commented 6 years ago

Updated

natemcmaster commented 6 years ago

@Tratcher CI automation is failing to take in this change to Universe. Can you follow through with the rest of these steps? https://github.com/aspnet/coherence-signed/wiki/New-package-Id-creation

Tratcher commented 6 years ago

@pranavkm this looks like a bad merge. The changes were checked into dev, branched to release/2.1, but somehow dropped when release was merged back to dev. https://github.com/aspnet/Universe/commit/fa825fe24747dc311c396e092a656fd3a086220d https://github.com/aspnet/Universe/commits/release/2.1/build/artifacts.props https://github.com/aspnet/Universe/commits/dev/build/artifacts.props

I'll cherry pick it back to dev.