mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Fixed critical bugs (Security - Array is stored directly) reported in Sonar
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@73860 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -53,7 +53,7 @@ public class RMConstraintInfo
|
||||
}
|
||||
public void setAllowedValues(String[] values)
|
||||
{
|
||||
this.allowedValues = values;
|
||||
this.allowedValues = values.clone();
|
||||
}
|
||||
public String[] getAllowedValues()
|
||||
{
|
||||
|
@@ -36,7 +36,7 @@ public class ScriptCapability
|
||||
{
|
||||
this.name = name;
|
||||
this.displayLabel = displayLabel;
|
||||
this.actions = actions;
|
||||
this.actions = actions.clone();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -152,7 +152,7 @@ public class RMSearchPropertiesGet extends DeclarativeWebScript
|
||||
{
|
||||
this.id = id;
|
||||
this.label = label;
|
||||
this.properties = properties;
|
||||
this.properties = properties.clone();
|
||||
}
|
||||
|
||||
public String getId()
|
||||
|
Reference in New Issue
Block a user