Skip to content

Commit b85d217

Browse files
committed
HTML encode the revision string
1 parent 1a30e6d commit b85d217

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

opengrok-web/src/main/webapp/history.jsp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ document.domReady.push(function() {domReadyHistory();});
261261
if (dispRev == null || dispRev.isEmpty()) {
262262
dispRev = "";
263263
}
264+
dispRev = Util.htmlize(dispRev);
264265
String rev = entry.getRevision();
265266
if (rev == null || rev.isEmpty()) {
266267
rev = "";

0 commit comments

Comments
 (0)