DENY Permission not working for some of the filters in dispatcher.any file
I have a list of application urls/filters to provide the deny access in dispatcher.any file.
Below are the ways, I have set the rule in my dispatcher.any file its not working as expected and it is returning the json values all the time.
Similarly for the css, i have set the deny rule which is not working as expected.
We tried clearing the dispatcher cache multiple times which is of no effect.
/invalidate
{
/0003
{
/glob "*.json"
/type "allow"
}
}
/0082
{
/type "deny"
/path "/*"
/extension '(json)'
}
/0087 { /type "allow" /method "GET" /extension 'json' "*.json" }
Any solution on this problem will be helpful.