Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-1721

PHPIDS: Unable to save some values for the setting impact rating to redirect

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.5.0
    • Fix Version/s: 3.5.2
    • Component/s: Plugins
    • Labels:
      None

      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?

        Activity

        Hide
        tyson Tyson Phillips (Inactive) added a comment -

        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.

        Show
        tyson Tyson Phillips (Inactive) added a comment - 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.

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              4/Aug/15