Nitin Galave created RANGER-2487:
------------------------------------

             Summary: Resource policy names with a characters that are 
typically HTML escaped mutate and grow as they are saved.
                 Key: RANGER-2487
                 URL: https://issues.apache.org/jira/browse/RANGER-2487
             Project: Ranger
          Issue Type: Bug
          Components: Ranger
            Reporter: Nitin Galave
            Assignee: Nitin Galave


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..



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to