Skip to content

Commit 020663d

Browse files
committed
encode revision in the href
1 parent 18cdc06 commit 020663d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ document.domReady.push(function() {domReadyHistory();});
410410
} else {
411411
%>
412412
<a class="h" href="<%= context + Prefix.XREF_P + Util.uriEncodePath(ifile) %>?<%= QueryParameters.REVISION_PARAM_EQ %>
413-
<%= rev %>"><%= Util.htmlize(jfile) %></a><br/><%
413+
<%= Util.uriEncode(rev) %>"><%= Util.htmlize(jfile) %></a><br/><%
414414
}
415415
}
416416
%></div><%

0 commit comments

Comments
 (0)