Skip to content

Commit 7d2de54

Browse files
committed
encode error output
1 parent c701ef8 commit 7d2de54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opengrok-web/src/main/webapp/xref.jspf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ org.opengrok.indexer.web.QueryParameters"
170170
<h3 class="error">Error reading file</h3><%
171171
if (error != null) {
172172
%>
173-
<p class="error"><%= error %></p><%
173+
<p class="error"><%= Util.htmlize(error) %></p><%
174174
}
175175
}
176176
} else if (g == AbstractAnalyzer.Genre.IMAGE) {

0 commit comments

Comments
 (0)