Arjun icon indicating copy to clipboard operation
Arjun copied to clipboard

Fix a bug with empty factors

Open jojonas opened this issue 10 months ago • 0 comments

I encountered a bug where the web server would reply with an empty body on the probe request, but with a body if a certain parameter was specified. Arjun failed to recognize this, because the probe-phase set factors['same_body'] to an empty string.

During comparison, this would then be evaluated to False and the body-comparison would be skipped.

This commit fixes this bug by using the explicit None value as the "skip" placeholder.

jojonas avatar Apr 25 '24 07:04 jojonas