[BUG] <title> In rulesList, The un-matching request will cause normal requests to fail #5588
Open
1 task done
Labels
type: bug
Something isn't working
Is there an existing issue for this?
Current Behavior
this is my rule setting in modifyResponse plugin
this is matching case
this is un-matching case without add body info
but after un-matching case, the matching case become un-match
this operates in orders
Expected Behavior
Whenever the request happens, the matching scene should be matched
Steps To Reproduce
Environment
Debug logs
this is the logs under matching case but un-matching and without modifyResponse rule success match info.
Anything else?
i have debug in this case, find some questions in this line,
why caches an empty ruleData when not match rules.
cacheRuleData(path, emptyRuleData);
when i delete this line ,this bug will be fixed. but i am not sure this operate is correct.
Can u introduce the original intention of this line which cache empty ruleData?
The text was updated successfully, but these errors were encountered: