Closed mnriem closed 3 months ago
@mnriem , do we have sample for it? I want to understand is it a noisy, or it is a bug?
Any regular expression in the code that currently has "\" or a variation of it seems to get matches by this rule. Obviously, that is not the intent. Consider changing it look for something like "..\" or an absolute path or a some other way so it does not pick up regular expressions in the code by accident.
@KaiqianYang @showpune if you run the sample that we bundle with AppCAT (AirSonic), you will see that this rule is triggered several times. It would be good to check the fault positives and see if we can improve the rule.
Thanks @agoncal @mnriem
https://github.com/Azure/appcat-rulesets/pull/204
I have improved the matching pattern for windows file system path. Verified by running against Airsonic, it fixed all false positives in the app.
The rule also matches regular expressions.