Skip to content

Commit

Permalink
Updated regex in RbacKeys.java to be used for UserAdmin Permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
aadhavskthvl committed Jul 4, 2024
1 parent 1b2b158 commit 1b1128d
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ private RbacKeys() {
private static final String ALLOWED_USER_URL_CHARS = "[-._a-zA-Z0-9]";
public static final String USER_URL_REGEX = ALLOWED_USER_URL_CHARS + "{3,200}[%40]{0,3}" + ALLOWED_USER_URL_CHARS + "{0,50}";

/**
* User property key and value regex.
*/
public static final String PROPERTY_KEY_VALUE_REGEX = "[_a-zA-Z0-9]{1,255}";

/**
* CPI file checksum.
*/
Expand Down

0 comments on commit 1b1128d

Please sign in to comment.