Closed mikaelm12 closed 7 years ago
The Url rewrite file parser accepts bad values for the boolean attributes and just uses default values. Default should only be used when no value is given, we should throw for bad values
ex. https://github.com/aspnet/BasicMiddleware/blob/c0425c62536d9727ad7ceb02d62d5b21ec33e901/src/Microsoft.AspNetCore.Rewrite/Internal/IISUrlRewrite/UrlRewriteFileParser.cs#L89-L93
The Url rewrite file parser accepts bad values for the boolean attributes and just uses default values. Default should only be used when no value is given, we should throw for bad values
ex. https://github.com/aspnet/BasicMiddleware/blob/c0425c62536d9727ad7ceb02d62d5b21ec33e901/src/Microsoft.AspNetCore.Rewrite/Internal/IISUrlRewrite/UrlRewriteFileParser.cs#L89-L93