Closed BrennanConroy closed 7 years ago
Also look at the other Enums like MatchType, found examples of both uppercase and camelCase on the interwebz
We should definitely change the WildCard
enum to Wildcard
for consistency with the Url Rewrite reference doc and I think that we should also do case insensitive parsing of enums.
Thoughts @Tratcher @natemcmaster ?
... change the WildCard enum to Wildcard for consistency with the Url Rewrite reference doc and I think that we should also do case insensitive parsing of enums.
Yes to both.
Change
WildCard
toWildcard
https://github.com/aspnet/BasicMiddleware/blob/dev/src/Microsoft.AspNetCore.Rewrite/Internal/IISUrlRewrite/PatternSyntax.cs#L9 OR Parse the Enum ignoring case https://github.com/aspnet/BasicMiddleware/blob/dev/src/Microsoft.AspNetCore.Rewrite/Internal/IISUrlRewrite/UrlRewriteFileParser.cs#L64@mikaelm12