[Archived] Basic middleware components for ASP.NET Core. Project moved to https://github.com/aspnet/AspNetCore
169
stars
84
forks
source link
Source querystring is not preserved for redirects when target doesn't have a querystring #188
Closed
guardrex closed 7 years ago
@bartmax found this at ...
https://github.com/aspnet/BasicMiddleware/blob/dev/src/Microsoft.AspNetCore.Rewrite/Internal/RedirectRule.cs#L81
@bartmax suggested for L81 ...
... to preserve it for the redirect when the
newPath
doesn't have one.If you're wondering why he didn't open this, I asked him, and he responded in code ...
:smile: