Class: Contrast::Agent::Assess::Rule::Response::ParametersPollution

Inherits:
BaseRule
  • Object
show all
Includes:
BodyRule
Defined in:
lib/contrast/agent/assess/rule/response/parameters_pollution_rule.rb

Overview

These rules check the content of the HTTP Response to determine if the body contains a form which incorrectly sets the action attribute.

Constant Summary

Constants inherited from BaseRule

BaseRule::DATA

Instance Method Summary collapse

Methods inherited from BaseRule

#analyze

Instance Method Details

#rule_idObject



16
17
18
# File 'lib/contrast/agent/assess/rule/response/parameters_pollution_rule.rb', line 16

def rule_id
  'parameter-pollution'
end