Skip to content

Commit 66c51e0

Browse files
ak-ragnorbrianchandotcom
authored andcommitted
LPD-63827 Escape title
1 parent cd5c3a3 commit 66c51e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

portal-impl/src/com/liferay/portal/servlet/GoogleGadgetServlet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ protected String getContent(HttpServletRequest httpServletRequest)
100100
sb.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
101101
sb.append("<Module>");
102102
sb.append("<ModulePrefs title=\"");
103-
sb.append(title);
103+
sb.append(HtmlUtil.escapeAttribute(title));
104104
sb.append("\"/>");
105105
sb.append("<Content type=\"html\">");
106106
sb.append("<![CDATA[");

0 commit comments

Comments
 (0)