Details
Description
I'm unsure of the intended behavior, but this issue concerns the "Minimum Impact Rating to Redirect" setting (i.e. "redirect_min_score").
Some values entered for this setting do not save.
for all integers x in 0 < x < 15, a success message is shown when saving the PHPIDS settings, but the value saved for "redirect_min_score" is always 15 instead of the entered value.
If values in (0, 15) are not valid, should there be an error message instead?
15 is the lower limit of the impact rating for redirects. Anything less than 15 will be set back to 15.
A lower value will likely cause issues with legitimate pages redirecting, making it possible as well that the PHPIDS page that manages this setting could redirect and make it impossible for an admin to update the setting from the UI.