Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2487

Resource policy names with a characters that are typically HTML escaped mutate and grow as they are saved.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0
    • Ranger
    • None

    Description

      If a resource based policy is given a name that contains a character that is typically HTML escape, such as the greater than sign '>', which is HTML escaped '>', then whenever that policy is saved, the name of the policy will be changed by the ranger you to contain the HTML escape characters.

      For example, if I name a policy mydb->mytable, then when that policy is edited and saved in the UI, its name will change to mydb->mytable. Because the ampersand is itself an HTML escaped character, if I save the policy again, this name will be changed to mydb->mytable.Etc..

      Attachments

        1. 0001-RANGER-2487.patch
          4 kB
          Nitin Galave

        Issue Links

          Activity

            People

              nitin.galave Nitin Galave
              nitin.galave Nitin Galave
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: