mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix for critical http://issues.alfresco.com/browse/WCM-646
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6258 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -171,6 +171,7 @@ public final class FacesHelper
|
||||
id = id.replace(':', '_');
|
||||
id = id.replace(' ', '_');
|
||||
id = id.replace('.', '_');
|
||||
id = id.replace('+', '_');
|
||||
|
||||
// TODO: check all other illegal characters - only allowed dash and underscore
|
||||
// TODO: use regular expression to do check and replacment of characters
|
||||
|
@@ -722,7 +722,7 @@ public class UIUserSandboxes extends SelfRenderingComponent
|
||||
out.write(name);
|
||||
UIAVMLockIcon lockIcon = (UIAVMLockIcon)fc.getApplication().createComponent(
|
||||
UIAVMLockIcon.ALFRESCO_FACES_AVMLOCKICON);
|
||||
lockIcon.setId("lock_" + FacesHelper.makeLegalId(name));
|
||||
lockIcon.setId("avmlock_" + Integer.toString(rowIndex));
|
||||
lockIcon.setValue(sourcePath);
|
||||
Utils.encodeRecursive(fc, lockIcon);
|
||||
out.write("</a>");
|
||||
|
Reference in New Issue
Block a user