mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.0 to HEAD (fixes ALFCOM-2311 & ALFCOM-2332)
12718: Merged V2.2 to V3.0 12706: Merged V2.1 to V2.2 12693: Fixed regression where summary pages of WCM related wizards do not render correctly after XSS fixes, related to ETWOTWO-987 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12722 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -3,6 +3,7 @@ package org.alfresco.web.bean.wcm;
|
||||
import javax.faces.context.FacesContext;
|
||||
|
||||
import org.alfresco.web.app.Application;
|
||||
import org.alfresco.web.ui.common.Utils;
|
||||
import org.apache.commons.lang.StringUtils;
|
||||
|
||||
/**
|
||||
@@ -43,7 +44,8 @@ public class DescriptionAttributeHelper
|
||||
public static String getTableLine(FacesContext fc, String fieldName, String fieldValue)
|
||||
{
|
||||
StringBuilder line = new StringBuilder(128);
|
||||
line.append(TRTD_BEGIN).append(Application.getMessage(fc, fieldName)).append(TD_TD).append(fieldValue).append(TDTR_END);
|
||||
line.append(TRTD_BEGIN).append(Application.getMessage(fc, fieldName)).
|
||||
append(TD_TD).append(Utils.encode(fieldValue)).append(TDTR_END);
|
||||
return line.toString();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user