dotnet / dotnet/aspnetcore

Add more code-first rewrite rules

Open
#5,991 4 comments 0 reactions 0 assignees View on GitHub
affected-very-few area-middleware enhancement feature-rewrite-middleware severity-minor
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

What if I want case insensitive matching? What if I want to match https requests so I can redirect them to http? What if I want to redirect www to non-www (or vice-versa)?

Do I really have to implement my own `IRule` for these simple use cases? The `RedirectRule` class and `AddRedirect` extension seem way too basic for me.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.