Closed mikaelm12 closed 7 years ago
Turns out that this is an issue with case insensitive enum parsing. The IsFile
and the IsDirectory
enums should be isFile
and isDirectory
. We should also do case insensitive enum parsing.
Previously filed in https://github.com/aspnet/BasicMiddleware/issues/145
Right now if you don't pass in a pattern attribute for each condition the file parser throws. This behavior is incorrect. For example it break the
isFile
andisDirectory
checks<add input="{REQUEST_FILENAME}" matchType="isFile" negate="true">
wont work.